Hi,
I still new to Coopermine, but I went throughout the documentation and forum and could figure it out!
I want all my thumbs to be the same size. I am creating them using dedicated software.
Even though the files on my server are the ones I have created, Coopermine display them in different sizes.
I have notice that in the generated page there are width and height attributes:
<a href="displayimage.php?album=5&pos=0"><img src="albums/test/thumb_basketball-crotch.jpg" class="image" width="78" height="100" border="0" alt="basketball-crotch.jpg" title="Filename : basketball-crotch.jpg Filesize : 56KB Dimensions : 400x515 Date added : Jun 28, 2005"><br /></a>
How can I remove the width and height attributes out of the <img>-tags for thumbnails? Or if anyone knows any other solution to the problem it will be greatly appreciated :-X
Thanks,
Amit
Look in your include/functions.inc.php for
// Compute image geometry based on max width / height
function compute_img_size($width, $height, $max)
Scroll down to the return
return $image_size;
And on a line above that add
if ($max == $CONFIG['thumb_width']) $image_size['geom'] = 'width="123" height="123"';
Changing the 123s to the width and height of the thumbnails you made.
thx a lot, works great!!! ;D