I want to know if there is a way to change the URL: to the correct filename of the picture in the picture information. Let me know if you know how. Thanks!!
(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Faisle8.com%2Fimages%2Fpicinfo.jpg&hash=8a03a7346030394848b95a49c8748939fc538ac3)
http://aisle8.com/gallery
I don't get the point....
If the filename of the jpg were in the url, there would be a link to the pic itself, not to the html "around" it.
GauGau
Quote from: "gaugau"I don't get the point....
If the filename of the jpg were in the url, there would be a link to the pic itself, not to the html "around" it.
GauGau
Right...that is what I am wanting...People using my board post their images on ebay or another site...My Image gallery is mainly used for storage space for people that do not have a website...Help me if you can...Thanks!
[not tested]:
edit displayimage.php and look for $info['URL'] = '<a href=' . $CONFIG["ecards_more_pic_target"] . '/' . basename($_SERVER['PHP_SELF']) . "?pos=-$CURRENT_PIC_DATA[pid]" . ' >' . $CONFIG["ecards_more_pic_target"] . '/' . basename($_SERVER['PHP_SELF']) . "?pos=-$CURRENT_PIC_DATA[pid]" . '</a>';
Add after it $info['URL'].= '<br /><a href="' . $path_to_pic . '">' . $path_to_pic . '</a>';
[/not tested]
GauGau
Thank you!!! It worked...
Or if you want to use the images on a forum, you could use the bbCode mod (http://forum.coppermine-gallery.net/index.php?topic=431)...
/m_aTh!bUs