PDA

View Full Version : removing alternate photo size dropdown


steveh
24th of November 2004 (Wed), 20:08
I can't figure out an easy way to remove the alternate photo size dropdown on the photo page. I tried deleting the path I made for “large” but EE won't let me. Should I use the 'override'? Do I have to remove the path from each photo individually? Bandwidth is starting to be an issue... :cry:

Cyclist
25th of November 2004 (Thu), 02:16
I think it would be easiest just to uncomment the sizecode in the pagetemplate for the photo.

look for this part:

<?php
print $sizemenu_html;
?>

and change it into

<?php
//print $sizemenu_html;
?>

I haven't tested it but it should work I think.

steveh
25th of November 2004 (Thu), 07:37
Thanks, but I can't find that line of code in 1.5RC4 on photo.php. In fact I removed the whole code section (ob_start to ob_end) that deals with the alternate image size dropdown box and it still showed up....argh....admittedly, I don't write code...just hack at it... :lol:

Cyclist
25th of November 2004 (Thu), 07:42
No, it's not in the photo.php but in the pagetemplate.

You'll find it under: pagestemplates/photo/default.php, you don't need to change the code of the photo.php in the root directory.

steveh
25th of November 2004 (Thu), 08:46
that works and is easy to undo!!! Thanks again....