View Full Version : default image view size and e-commerce graphic
BrandonSi
29th of September 2004 (Wed), 12:54
Is there anyway to limit the options in the dropdown box (large, small, normal, etc..) for the images, or to set a gallery to a general default and remove that dropdown box completely? Do I have to edit the php code, or is this an option in the setup menu?
Also, I've enabled e-commerce, but the "click here to buy this photo now" graphic is still pointing to photography-on-the.net/beta/buy_1.jpg. Where is this called from, so that I can point it to a graphic on my server?
Thanks!
BrandonSi
30th of September 2004 (Thu), 14:48
for those searching in the future, the location of the graphic is defined in your language directory/photo.php.
still working on the default image sizes..
Pekka
30th of September 2004 (Thu), 15:33
The size dropdown menu is build according to what sizes are selected for each photo. If there is only one size the dropdown is not displayed.
If you want to hide the dropdown completely, do it in pagetemplates/photo/default.php. Change line
print $sizemenu_html;
to
//print $sizemenu_html;
BrandonSi
30th of September 2004 (Thu), 16:10
Thanks Pekka..
For a few galleries I have 3 sizes, big, normal, small.. 100%, 75%, and 45%. I like the small view the best, so in order for me to default every gallery to only display the photos in small mode, I'd have to remove the entries pointing to the big and normal sized photos? Or can I simply set a default to small somehow, and then comment out the dropdown menu line?
BrandonSi
1st of October 2004 (Fri), 17:53
Ah! Nevermind, I got it. Makes sense now, just remove the link to the different sizess under photo editor for each photo. Sorry to make that more complicated than it was :)
vBulletin® v3.6.12, Copyright ©2000-2012, Jelsoft Enterprises Ltd.