Changing background image and no-preview image

Image previewer add-on.
Post Reply
OneLight
Posts: 2
Joined: Wed Oct 28, 2009 7:09 pm

Changing background image and no-preview image

Post by OneLight »

Created new background image and a new no preview icon to match our site -- but can't seem to get them to show. It always seems to show the original "drag & drop images here" image. Where should these new images be stored in relationship to the applets or lib folder, and then how is that referenced in the i18_pane.properties file?

For example, my background image is called uploadBG.jpg, and it is stored in the same directory as my applet_http_ipreview.js file. What is the proper way to set the preview.image.background setting?

User avatar
support
Posts: 1503
Joined: Sun Jan 27, 2008 6:19 pm

Re: Changing background image and no-preview image

Post by support »

Your uploadBG.jpg seems at the correct place (in the same folder as HTML/JavaScript).
To make the applet loads it, make sure you have the following in i18n_pane.properties:
preview.image.background=uploadBG.jpg

It's quite similar for preview.image.nopreview but don't forget to uncomment it:
#preview.image.nopreview=jfileupload/transfer/client/preview/nopreview.jpg
becomes:
preview.image.nopreview=yourimage.jpg

Post Reply