Hi.
I`ve got small problem with my template-
I want to have some thumbnail photos in articles - that`s easy to do. But problem is, that I want to have a little bit bigger photo in first article- exactly 2 times bigger than thumbnail photo - is it possible to do that functionality?
bigger than thumb, smaller than orginal photo
bigger than thumb, smaller than orginal photo
Sorry for my language errors- It`s not my native language.
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: bigger than thumb, smaller than orginal photo
Hi!
You can only increase the thumbsize in general.
But you can't use a large thumbnail for only some images, because by default serendipity does not create larger thumbnails.
There are manual ways to enable dynamic image resizing, but then you need to manually enter the links to thumbnail images. Instead of
you would need to use
(And you need to use Serendipity 1.1's option in the global configuration to enable the option "Allow dynamic image resizing?" set to 'True' to use that.
Replace 'XXX' with the ID of the image (you can see the ID of an image in the media manager by hovering over either the image or the 'delete' link and checking for the number). Replace 'YYY' with the width and 'ZZZ' with the height of the thumbnail how you like to have it resized.
Best regards,
Garvin
You can only increase the thumbsize in general.
But you can't use a large thumbnail for only some images, because by default serendipity does not create larger thumbnails.
There are manual ways to enable dynamic image resizing, but then you need to manually enter the links to thumbnail images. Instead of
Code: Select all
<img src="/uploads/mypicture.serendipityThumb.jpg" />
Code: Select all
<img src="/serendipity_admin_image_selector.php?serendipity[step]=showItem&serendipity[image]=XXX&serendipity[resizeWidth]=YYY&serendipity[resizeHeight]=ZZZ />
Replace 'XXX' with the ID of the image (you can see the ID of an image in the media manager by hovering over either the image or the 'delete' link and checking for the number). Replace 'YYY' with the width and 'ZZZ' with the height of the thumbnail how you like to have it resized.
Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/