Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2007-02-19 19:40:20

ZeoGen
New Member
Registered: 2007-02-10
Posts: 4

TXP isn't handling my thumbnails correctly

Here’s the problem. I upload a image in .jpg format and upload it’s thumbnail in .png format. This works great. TXP does the right thing. However when I call my thumbnails to a list. TXP decided that the full sized image has the .jpg extension so it’ll just ad that to the end of the thumbnail instead of .png.

Example:

Image ——- 1.jpg
Thumb ——-1t.png

When called to a list: 1t.jpg

The problem is fixed when both are the same file format. Why should this even be an issue? I could format the full sized image as a .png but it would be much easier if it were a jpeg.

Update

I looked through the tables in the database and TXP gives each image an extension for calling later on. It appears that this is the way it was intended to work. Odd.

Last edited by ZeoGen (2007-02-19 20:04:23)

Offline

#2 2007-02-20 05:12:01

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: TXP isn't handling my thumbnails correctly

Odd.

Not really: it saves from storing thumbnail data in the database too (whether it should/shouldn’t do that is another matter.

Suffice it to say that is what Textpattern expects/how it is behaving is what it thinks is “correct”.

Offline

Board footer

Powered by FluxBB