Pixelpost

Authentic Photoblog Flavour


Go Back   Pixelpost Forum > DEVELOPMENT > Hacks and Modifications

Post Reply
 
Thread Tools
  #1  
Old 08-11-2006, 12:38 PM
silfver Offline
pp regular
 
Join Date: May 2006
Location: Sweden
Posts: 40
Send a message via MSN to silfver
Question Latest thumb in other size than archive

Yes, as I wrote in the topic. Is it possible for pixelpost to generate a thumb of the latest post in, say, 168x168px?

I want to display this picture on a external site, but I don't want to change the size on the archive thumbnails.

Is this possible? If yes, how can I do it?
__________________
SILFVERCREATIONS.com - Only photo.
Reply With Quote
  #2  
Old 08-11-2006, 12:40 PM
Connie
Guest
 
Posts: n/a
no, it just takes the thumbnail of the last post

but it is always possible to present an image in another size than the file-dimension

so check the addon, look for the <img- output there and change the width and the height
Reply With Quote
  #3  
Old 08-11-2006, 12:44 PM
silfver Offline
pp regular
 
Join Date: May 2006
Location: Sweden
Posts: 40
Send a message via MSN to silfver
Ops. Sorry about that. Maybe some moderator can move the thread...

I don't want to change the image height by changing the HEIGHT attribute. That will make the picture look reallt strange. I'm looking for an addon that generates me a thumbail in my desired dimensions.
__________________
SILFVERCREATIONS.com - Only photo.
Reply With Quote
  #4  
Old 08-11-2006, 01:16 PM
Connie
Guest
 
Posts: n/a
again: you must generate a new thumbnail
just the output of the image must be changed!

<img src="some.jpg" width="168" height="168" .... >
Reply With Quote
  #5  
Old 08-11-2006, 01:50 PM
silfver Offline
pp regular
 
Join Date: May 2006
Location: Sweden
Posts: 40
Send a message via MSN to silfver
First of all, can you be a little more specific? Because I don't understand a word of what you just said.

What addon are you talking about?
__________________
SILFVERCREATIONS.com - Only photo.
Reply With Quote
  #6  
Old 08-11-2006, 04:25 PM
Connie
Guest
 
Posts: n/a
Red face

it is very easy to get what you want:

there is an addon, Latestthumb
you can get it here:

http://www.pixelpost.org/v1/index.ph...ads&details=80

upload this to your Addon-Directory
check in admin/addons that it is set to "ON", that it is active

now you do the following:

in the website, where you want to show your latest thumbnail in another size than the original thumbnail, you enter the following HTML-Snippet:

Quote:
<a href='http://www.your_photoblog.com/' >
<img src='http://www.your_photoblog.com/index.php?showthumb=latest&thumbtag=image' width='168' height='168' /></a>
the "width" and "height"-attribute will show the thumbnail in the size which you want to have

do not forget to enter the correct URL of your photoblog there! (It's marked in red)

Last edited by Connie; 08-11-2006 at 05:29 PM. Reason: new information / new understanding
Reply With Quote
  #7  
Old 08-11-2006, 05:30 PM
GeoS's Avatar
GeoS+ Offline
Team Pixelpost
 
Join Date: Apr 2005
Location: Warsaw, Poland
Posts: 3,613
Send a message via ICQ to GeoS Send a message via Skype™ to GeoS
@silfver: there is addon supporting thumbnail of last image. You can always hack it and get what you want.
__________________
photoblog | portfolio | addons | Donate
Reply With Quote
  #8  
Old 08-11-2006, 06:41 PM
Connie
Guest
 
Posts: n/a
that's exactly what I presented... it must not be hacked at all, just the way it is integrated in any other website is extended with height- and width-attributes

it works, I tested it
Reply With Quote
  #9  
Old 08-12-2006, 08:28 AM
silfver Offline
pp regular
 
Join Date: May 2006
Location: Sweden
Posts: 40
Send a message via MSN to silfver
Unhappy

Well, guys. You still don't get it. If I change the dimension in the picture attribute the picture gets blurry. It's logical.

If you have a picture in 100x75px and changes the measurements to 159x159px, the picture will look weird! And that's what this addon does to my thumbnail.

Do you understand what I mean? And am I doing something wrong? Because I really appreciate the help you give me.
__________________
SILFVERCREATIONS.com - Only photo.
Reply With Quote
  #10  
Old 08-12-2006, 08:55 AM
Connie
Guest
 
Posts: n/a
No, you do not anything wrong

I just wanted to point out that with one of the existing addons you can get what you want as long as the different dimensions are not too different(and if width-to-height-relation is the same)

I know that a picture will be presented in worse quality as the browser-rendering is not too good...

so we come back to the beginning:

there is no solution existing for that until now
it could be done by an addon
this addon is not written until now

so you have an answer for your question whether there is something or not..
unfortunately
Reply With Quote
Post Reply


Thread Tools




All times are GMT. The time now is 07:47 AM.

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd. | Style Design: d3 designs