Member
Member
Infidel   06-05-2008, 17:50
#1

Hi,

I am in need of a way to set it so that when you click on the picture in the gallery, it downloads that picture or goes to the actual image, the problem i am having now is when i click the photo it download but its not the original image and some data is lost, it is a php file. How can i fix this?

Many of the images i host contain winrar archives embedded into them, the winrar archive ends up being lost somewhere.

The site is, www.thechaosnode.com if you want to know what i mean by winrar files hosted within a picture open this picture in winrar.

http://www.thechaosnode.com/albums/book/A%20Clockwork%20Orange.jpeg

Anyways, in summary i need it to download or link to the original file not a secondary one or whatever its doing now.

Thanks for hearing me out if you have any solutions please help.

Member
Member
sbillard   07-05-2008, 22:05
#2

getFullImageURL() will give you a link to the original image. Most browsers will just display this image in a separate window, though. To force a download you would have to use the image protection options and the function getProtectedImageURL(). Set the option to force a download.

Member
Member
Infidel   08-05-2008, 23:50
#3

ok, lol umm how would i go about doing that?

Member
Member
djdevine   08-05-2008, 23:56
#4

Admin > options > image options. Look for the setting at the bottom called "Full image protection:"

Change the menu selection next to"Full image protection:" to "Download".

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.