Showing image instead of download link
I am using an interactive report and entered this for the source. I want to show the picture instead of a download link however I don't get the picture I get a
Source:
select "IMAGE_ID",
"SUBJECT",
"CREATED_DATE",
"CREATED_BY",
decode(nvl(dbms_lob.getlength(image),0), 0, null, '<img src=
"'||apex_util.get_blob_file_src('P53_IMAGE', image_id)||
'" height="75" width="75" />') Image
from "#OWNER#"."IMAGES"
Shown in the report:
<img src= "apex_util.get_blob_file?a=100&s=3229276571420106&p=53&d=1943731550155986&i=1941402717155956&p_pk1=1&p_pk2=&p_ck=58C90FE7F1EC9618676F23C2FC24FA0A" height="75" width="75" />
Any idea as to what I may be doing wrong?
Hi ,
It looks like your report column is set to display as Text. Go to "Home>Application Builder>Application #>Page #>Interactive Report Attributes" and change it to Standard report Column and you should be all set.
Thanks,
Manish
Similar Messages
-
Show File name as download link in a report
Hi people,
In an application (APEX 4.2.1) I have a reprot whith a file donwload column. I implemented the download as a BLOB column with "DOWNLOAD" as Format Mask. This works fine, I can download attachments, no probs so far. However, I want the Download Text to show the name of the actual file instead of a static text "Download".
Any suggestions on this?
Kind regards,
Vincent DeelenHi fac586,
Thanks for your reply.Actually, my first thougt was to use #FILE_NAME# reference, I tried it again, but it doesn't really work for me. I end up with a download link that reads exactly "#FILE_NAME#".
I've put up an example in my demo app to show:
http://apex.oracle.com/pls/apex/f?p=vincentdeelen:31:0:::::
I've included screenshots of the page setup in the report.
Regards,
Vincent -
Showing image instead of flash for mobiles?
I am just wondering if it is possible to show an image instead of flash content for mobiles?
I want to allow the adobe sniffer to do its thing when it is people using pc and mac browsers and direct them to the plug in page to download the flash player if they need it, but is there a way to sniff for a mobile / smart phone browser and if they cant view flash it will show an image instead?
Any help appreciated.You can use Javascript to detect the browser and platform for any given user. You can then parse that information to push the content that you want to use for the result. You can find a good write-up with example code here: http://www.quirksmode.org/js/detect.html
-
Display image for BLOB Download link in Interactive Report
I have a table containing BLOB data and am displaying the table in an interactive report. I would like to replace the "Download" text link with an icon that represents the MIME type of the BLOB, but can't seem to find a way to make the substitution. Does anyone know how to do this? Thanks.
-JeffHey Ben,
Thanks for the suggestion. I understand what you are saying, the problem is that when you have an interactive report that includes a BLOB and you use the built-in method for displaying a download link, it only gives you the option of using a text link. The method is outlined in the online help under:
Home > Advanced Programming Techniques> About BLOB Support in Forms and Reports > About BLOB Support in Reports
This is done by using the following syntax in the Number/Date Format of the column attribute of the BLOB:
DOWNLOAD:CC_DOCUMENTS:CONTENTS:ID::MIME_TYPE:FILENAME:UPDATED_ON::attachment:View
Where the last parameter is the link text. The only problem is that there is no option for substituting an image rather than the link text. That's what I'm trying to work around. Sorry if you new all of this already, but I wanted to explain what I've already done. Thanks for any help you can offer. -
Save Image instead of opening link
I have created email signature with several links from images used in signature. It works well on all PCs, iPad and works on iPhone if I will use attachments in email. But if it is simple email with this signature than on iPhone clicking on image results in Save Image prompt instead of opening link. The temporary solution I am using is to use dummy attachment. Can I have it working without attachment ?
TonyHi ,
It looks like your report column is set to display as Text. Go to "Home>Application Builder>Application #>Page #>Interactive Report Attributes" and change it to Standard report Column and you should be all set.
Thanks,
Manish -
PHP-dynamically re create a remote image, instead of downloading it?
Hi all
this is what I'm trying to do, using PHP:
say I have two sites: "example.com" and "mysite.com".
I would like to get an image from example.com to mysite.com.
I mean get the physical image file.
It would be great if instead of having to manually download
the image from one site, then upload it
to the other, I could dynamically "read" the remote image,
and re-create it dynamically on mysite.
Is it possible? I know PHP can "read" files (although I'm not
familiar with this), and I am familiar
with creating images dynamically (creating thumbnails for
example).
Ho, and I am in total control of both sites, so I can
implement whatever system on either sites, to
enable the transfer of the image.
I'd like to know if you have done that before or if anyone
can think of a simple chain of functions
to acheive this.
seb ( [email protected])
http://webtrans1.com | high-end web
design
An Ingenious WebSite Builder:
http://sitelander.com(_seb_) wrote:
> David Powers wrote:
>> (_seb_) wrote:
>>> So I store the style sheet and their images on
sitelander.com, but I
>>> want anybody using my system to be able to pick
and choose any style,
>>> from a page on THEIR website, and apply it to
THEIR website.
>>> Basically like you change the skin of your
FireFox browser, I want to
>>> do the same with website "skins".
>>> So I need to transfer the images used by the
css, because I don't
>>> want my site to serve the background-images for
hundreds of web
>>> sites... (and hopefully thousands some day)
>>
>> In your original post, you said you have total
control of both sites.
>> In this scenario, it sounds as though you want to
transfer the files
>> to someone else's site. Unless the request is
triggered by a script on
>> the target site, any attempt by sitelander.com to
write files to the
>> target site is likely to be rejected by the server
as a hostile attack.
>>
>> On the other hand, if you do have total control of
both sites, it
>> means that anyone using your system must be hosted
on one of your
>> servers. In that case, it makes no difference if the
images are served
>> directly from sitelander.com. You might just as well
leave them where
>> they are.
>>
>> Or have I misunderstood what you're trying to do?
>>
>
> The user uploads the website builder package to their
own server, not
> mine. But the package will already include the code for
getting the
> files from my server. So the script to get the files
from my server will
> be on their server.
> Now, my website builder only works on a server that has
world
> permissions to write files.
That is the main limitation with my website builder. I have
tried to include a FTP solution where if
there is no world permission to write file on the server, the
user can enter his FTP info in the
website builder, and the website builder attempts to log them
in as FTP user, and chmod dirs and
files via an FTP command:
$conn_id = ftp_connect($ftp_server);
if(ftp_login($conn_id, $ftp_user_name, $ftp_user_password)){
if(ftp_site($conn_id, 'CHMOD 0777 '.$dir)
But that part is a little bit over my head and I have trouble
testing it since the servers I use all
have world permissions (I choose them because of that)...
> So if they have successfully installed and tested
SiteLander on their
> server, it already means that they have world
premissions to write files
> on it, and the script in the package can assume that.
>
seb ( [email protected])
http://webtrans1.com | high-end web
design
An Ingenious WebSite Builder:
http://sitelander.com -
First up I have just noticed this HD thing and it's possible that this is why I can't see and download the season purchased, but strange that no message popped up to notify me of the incompatibility?
I am not sure if this is cload related, iTunes related, or blonde moment related.
Ok so I am using a MacBook Pro 13" the only mac product I own and use my iTunes for.
In the available downloads there are double ups of the previously purchased and watched episode from only this show (The O.C. if that's of any relevance?) not the other shows I have purchased through iTunes and not the latest season I have just purchased.
There also seems to be an issue with the display of the media - not sure how to explain but as I have purchased the different seasons, the latest season image is usually the icon and background theme when looking at the episode lists. At the moment it is just a blank white background with the TV image.
Hoping this is just the HD thing and not something worse but any advice or insite would be appreciated. Thanks.This happens very frequently and has become so irritating I am considering no longer using iTunes. I also find it very disappointing that Apple, despite numerous posters saying they have this probelm, have decline to comment or address the problem.
I've spent the last few years switching over to Apple in most things, iPhone, iPod, iTunes, and got AppleTV, and also several members of my family and friends followed suit when they saw what I had.
All of my enthusiasm for Apple products however has been undone, with iTunes becoming an ever increasingly woeful piece of software. It crashes regularly, downloads duplicates, forgets artwork I'd spent hours adding, and the in store search facility is pedantic e.g. typing 'sex in the city season 1' will not find 'sex and the city season 1' for example. A truely aweful piece of software. -
Show + image instead of handle in jtree
I have created jtree. I have implemented my own TreeCellRendererComponent. I set the node images as per node type. My problem is, I need to get '+' sign to nodes not expanded and '-' for those expanded instead of default handles. How do I implement it?
public Component getTreeCellRendererComponent(
JTree tree, Object value, boolean isSelected,
boolean isExpanded, boolean isLeaf, int row,
boolean hasFocus) {
super.getTreeCellRendererComponent( tree, value, isSelected,
isExpanded, isLeaf, row, hasFocus);
Component compObject = this;
if ( value instanceof EuamDefaultMutableTreeNode ) {
EuamDefaultMutableTreeNode node = (EuamDefaultMutableTreeNode)value;
setText( node.getText() );
setIcon(isExpanded ? node.getOpenIcon() : node.getClosedIcon() );
if( bIsRightImage_ && lblRightSideIcon_ != null ) {
lblRightSideIcon_.setIcon(node.getRightIcon());
else {
setText(value.toString());
return compObject;
}Tree node handles vary depending on which L&F u r using, java defaults to "javax.swing.plaf.metal.MetalLookAndFeel" which uses the "0-" type handles. To get the '+', '-' handles you need to be using windows L&F. Try adding this code to your apps main method:
try{
UIManager.setLookAndFeel(
"com.sun.java.swing.plaf.windows.WindowsLookAndFeel");
}catch (Exception e) {}Hope this helps -
N95 8GB - Showing images from applications in the ...
Hi, I have an N95 8GB (2), I have recently installed GarminXT and the image gallery is now showing images used in GarminXT in the Gallery.
Is there a way to disable the GarminXT folder from being accessed by the Gallery.
Many thanks
Jym
Solved!
Go to Solution.Hi, I found a way of doing it, although it is a bit slow as you have to hide one image at a time.
Here is a link to the guide http://www.simplysymbian.com/2007/07/02/how-to-hide-gallery-images/
And the download link for Y-Browser is dead so here is a working link http://www.allaboutsymbian.com/software/item/Y-Browser_for_S60_3rd_Edition.php
Hope this helps
Jym -
Firefox trying to play wavs/mp3s after clicking link to it instead of showing dialog to open/download. In preferences in applications tab I've selected "always ask" in wav and mp3 file types, but it didn't solve this problem.
== This happened ==
Every time Firefox opened
== I am unsureGo to about:config (click "I'll be careful, I promise")
Find plugin.disable_full_page_plugin_for_types
Right click on the line of text and click Modify
If there is no value in there then enter audio/mpeg
If there are already values add ,audio/mpeg at the end (comma is important)
Click OK
Restart Firefox
Now clicking on an mp3 will ask where to download -
I have installed XAMPP to preview web pages locally. Everything works fine in IE9 but not in Firefox. When I load a localhost page Firefox downloads the file, then displays the downloaded file without showing images within the page.
So, in IE9 the address bar looks like this (correctly): http://localhost/my_sites/WebMaestro/Exercises/Lesson8/changeImage.html
In Firefox the address bar looks like this: file:///C:/Users/Rog/AppData/Local/Temp/changeImage-3.htmlAre you using a Firefox extension like '''Auto Save Document ''' ? If you are using then you need to disable it. The documents are stored as html-text only (no embedded objects like pictures etc.) As a result the images don't appear on browser.
-
Mediafire does not show download link
It's been about a week since I last manage to download from Mediafire. When I click on a Mediafire link, the download link does not show although the page has finish loading. Refreshing the page repeatedly does not help and I've tried the solution to delete all cookies as stated on a similar thread (http://support.mozilla.com/en-US/forum/1/673873) but it doesn't work either. After deleting all the cookies, clicking on the Myfiles link brings me to Mediafire's main webpage instead. Are there any ways to solve this? =( Please help!
== URL of affected sites ==
http://www.mediafire.com/Ok, I've updated to firefox 3.6. Here's the support data and the screenshot. I hope it helps and umm, sorry for all the trouble as well..
Application Basics
Name
Firefox
Version
3.6.3
Profile Directory
Open Containing Folder
Installed Plugins
about:plugins
Build Configuration
about:buildconfig
Extensions
Name
Version
Enabled
ID
AVG Safe Search
9.0.0.812
false
{3f963a5b-e555-4543-90e2-c3908898db71}
BitComet Video Downloader
1.19
false
Fission
1.0.9
false
{1280606b-2510-4fe0-97ef-9b5a22eafe41}
IDM CC
6.4
false
[email protected]
Java Console
6.0.17
false
Java Console
6.0.20
false
RealPlayer Browser Record Plugin
1.1.3
false
Skype extension for Firefox
2.2.0.102
false
フォクすけといっしょ
0.1.6.3
false
Modified Preferences
Name
Value
accessibility.typeaheadfind.flashBar
0
browser.history_expire_days.mirror
180
browser.history_expire_days_min
7
browser.places.importBookmarksHTML
false
browser.places.importDefaults
false
browser.places.leftPaneFolderId
-1
browser.places.migratePostDataAnnotations
false
browser.places.smartBookmarksVersion
2
browser.places.updateRecentTagsUri
false
browser.startup.homepage
about:blank
browser.startup.homepage_override.mstone
rv:1.9.2.3
dom.disable_window_move_resize
true
dom.max_script_run_time
1800
extensions.lastAppVersion
3.6.3
network.cookie.cookieBehavior
1
network.cookie.prefsMigrated
true
print.print_printer
Nitro PDF Driver 5
print.printer_Nitro_PDF_Driver_5.print_bgcolor
false
print.printer_Nitro_PDF_Driver_5.print_bgimages
false
print.printer_Nitro_PDF_Driver_5.print_command
print.printer_Nitro_PDF_Driver_5.print_downloadfonts
false
print.printer_Nitro_PDF_Driver_5.print_edge_bottom
0
print.printer_Nitro_PDF_Driver_5.print_edge_left
0
print.printer_Nitro_PDF_Driver_5.print_edge_right
0
print.printer_Nitro_PDF_Driver_5.print_edge_top
0
print.printer_Nitro_PDF_Driver_5.print_evenpages
true
print.printer_Nitro_PDF_Driver_5.print_footercenter
print.printer_Nitro_PDF_Driver_5.print_footerleft
&PT
print.printer_Nitro_PDF_Driver_5.print_footerright
&D
print.printer_Nitro_PDF_Driver_5.print_headercenter
print.printer_Nitro_PDF_Driver_5.print_headerleft
&T
print.printer_Nitro_PDF_Driver_5.print_headerright
&U
print.printer_Nitro_PDF_Driver_5.print_in_color
true
print.printer_Nitro_PDF_Driver_5.print_margin_bottom
0.5
print.printer_Nitro_PDF_Driver_5.print_margin_left
0.5
print.printer_Nitro_PDF_Driver_5.print_margin_right
0.5
print.printer_Nitro_PDF_Driver_5.print_margin_top
0.5
print.printer_Nitro_PDF_Driver_5.print_oddpages
true
print.printer_Nitro_PDF_Driver_5.print_orientation
0
print.printer_Nitro_PDF_Driver_5.print_pagedelay
500
print.printer_Nitro_PDF_Driver_5.print_paper_data
1
print.printer_Nitro_PDF_Driver_5.print_paper_height
11.00
print.printer_Nitro_PDF_Driver_5.print_paper_size_type
0
print.printer_Nitro_PDF_Driver_5.print_paper_size_unit
0
print.printer_Nitro_PDF_Driver_5.print_paper_width
8.50
print.printer_Nitro_PDF_Driver_5.print_reversed
false
print.printer_Nitro_PDF_Driver_5.print_scaling
1.00
print.printer_Nitro_PDF_Driver_5.print_shrink_to_fit
true
print.printer_Nitro_PDF_Driver_5.print_to_file
false
print.printer_Nitro_PDF_Driver_5.print_unwriteable_margin_bottom
0
print.printer_Nitro_PDF_Driver_5.print_unwriteable_margin_left
0
print.printer_Nitro_PDF_Driver_5.print_unwriteable_margin_right
0
print.printer_Nitro_PDF_Driver_5.print_unwriteable_margin_top
0
privacy.sanitize.migrateFx3Prefs
true
security.OCSP.disable_button.managecrl
false
security.disable_button.openCertManager
false
security.disable_button.openDeviceManager
false
security.enable_java
false
security.warn_viewing_mixed
false
Thank you so much for your help! -
I do a lot of photo-manipulations, and one thing I need are lots of different images to play around with. A couple of the women in my manipulations group are very good at searching out images and post new galleries of images each week. Downloading these images is a long, repetitive process (not as long as trying to search for them myself, but still hours each week if I want to snag them all).
Automator is supposed to help deal with repetitive processes, and indeed there is a sample workflow called "Downloading Linked Web Images" on the front Automator page. It goes like this:
1> Get current webpage from Safari
2> Get image URLs from webpage (set to Get URLs linked from these webpages)
3> Download URLs (where: Pictures is set in example, I set it to where: Incoming Downloads, the folder I download everything to and which is set up as a safe zone in Norton Anti-Virus)
The workflow goes on with the following step to add the photos to iPhoto, but I stopped it here because I don't want the photos in iPhoto.
4> Import photos into iPhoto (add to: either choose album with a pull-down menu or new album with a input box for the name, checkbox for "delete the source images after importing them")
This workflow doesn't work, and I don't know why.
On one of her galleries it said it sucessfully completed, but all it did was download an html file that when clicked on gave me a linking instructions page, which linked to the small version of the first photo in the gallery. (I replaced her actual name with "username" in the address to protect her privacy.)
href=http://username.multiply.com/photos/photo/15/1>353474_3995.jpg
On her other galleries, the workflow stopped at step 2 with this message:
AppleScript Error:
The command exited with a non-zero status. (255)
I have no idea what that error is.
The steps I currently go through to download photos from her galleries are (again I've substituted "username" for her real name in all the addresses):
1) Open gallery address in Safari. They take this form:
http://username.multiply.com/photos/album/15
2) Double click on one of the thumbnails, which opens a page with a small version of that single photo. The addresses take this form:
http://username.multiply.com/photos/photo/15/1
3) Double click on the small version of the photo to open the large version. The large version addresses look like this:
http://username.multiply.com/photos/hi-res/15/1?xurl=%2Fphotos%2Fphoto%2F15%2F1
4) Command-click on large photo and choose "Save image to Incoming Downloads."
5) Either hit the "back" link on the large picture page or the back button on Safari to get back to the small picture page.
6) Either hit the back button on Safari to go back to the gallery page, or hit the "next" link on the small picture page to go to the small picture page for the next photo in the gallery.
7) Either: a) from gallery page, repeat from step 2, or b) from small version page of next photo in gallery, repeat from step 3.
Continue to repeat until I've downloaded all the pictures I like, or I'm totally exhausted, or I have no more time. This one person's galleries have between 60 and 300 photos each, and she updates three to five galleries each week.
My group also has other people who put up galleries of images less often, but usually with more images. Last weekend one woman put up a gallery with 4387 pictures!
Downloading pictures one at a time takes forever, and the process should be able to be automated. If someone posts galleries that aren't entirely new images every week, it would still be much faster to download everything and trash the pictures I didn't want.
Does anyone know why this workflow won't work? It's one of the two sample workflows Apple has posted to demonstrate how Automator works, so I'm very surprised to find it doesn't work. BTW, I did download and install the latest version of Automator & X-code tools before trying the sample workflows.
Can someone help?
Thanks,
chinchilla_gurlJames
Not sure I can help you with Automator but here's two options:
Hazel (http://www.noodlesoft.com/hazel.php) will watch a folder for you and import the pics to a specified album
Or
Right click on the iPhoto Package File in Pictures and go 'Show Package Contents' In the resulting window you'll see a folder called 'Auto Import'. Make an alias to the folder and drag it to the desktop. Pics dropped onto that folder will be imported the next time iPhoto launches.
Regards
TD -
I have encountered this problem since Christmas. When I open the itunes and want to search the apps I have downloaded, and it keeps showing these apps free or with a price instead of downloaded. However, I have not encountered this problem in my iphone. This problem makes me confused that whether I have downloaded the app if I do not check the "Purchased".
Like the following one, even though I have downloaded the app, it shows the price to me instead of "downloaded".
p.s I have logined in to my acct.Are you really running Mac OS 10.4.8?
jpmyers wrote:
I hadn't used visited the iTunes store looking for books for many months. When I went this afternoon I found it stupid, offensive and frustrating how hard it is to find books instead of audiobooks. What am I doing wrong? The main menu in the store doesn't even list books anymore. Just audiobooks. The only way I could get a link to a book download was by searching for the author. That then gave me a choice of book or audiobooks.
I see plenty of books (in the U.S. store).
iTunes store content varies by country.
See this -> What can I buy from the iTunes Store in my country? - Apple Support -
Not all of my perviously purchaced songs are showing up on itunes purchaced link on my account. It show that I have already purchaced them in the itune store, but i have no way of downloading them back into my library.
If they aren't showing in the Purchased tab in the iTunes store app (and the Purchased link under Quicklinks on the right-hand side of the iTunes store homepage on your computer's iTunes) for redownloading then have you checked to see if they are hidden : http://support.apple.com/kb/HT4919 ?
Maybe you are looking for
-
Hi, I'm having some problems. I have final cut studio 1 and bought final cut studio 2 yesterday. The first problem I encountered when upgrading was that there was'nt enough space left on my harddrive. (I use a macbook pro with 100gh harddrive.) So I
-
Hi all I have developed an application using jheadstart 10.1.3.1 and jdeveloper 10.1.3 and I want to deploy it in oc4j 10.1.3.3. I have installed Adf Runtime libiraties in oc4j home. during deploying my Application I get the following error: Operatio
-
Email Notification - Vibrates too much
I'm having an issue with my iPhone4, and I haven't been able to find a solution, cause, or even someone with the same problem.... I always leave my phone on vibrate, and have it set to vibrate when a new email message is received. This should equate
-
KT3 Ultra2BR, MS-6280E Raid, suspend, and other issues
Hello! Well, actually my box performs admirably. There are some annoying quirks tho, which you guys might have some solution to it. 1. My system have been working so fine, with ABSOLUTELY no problems. Things running fine means no errors, no BSOD, not
-
I just want the old version of Firefox back.