Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-07-19 16:26:50

webdav
New Member
From: Bozeman, MT
Registered: 2005-09-15
Posts: 2
Website

Image and thumb of different filetypes?

In the site that I’m working on, it has worked very conveniently to use the thumbnail image in the “article list” (which is a product list, essentially) and then the main image as a title for the actual product page (client insisted on a certain font, so can’t just use the regular title), except for one thing:

I would like the title graphic to be a transparent gif, but when I make it such, the thumb won’t work unless it is a gif too.

I had been making the titles jpgs, but then I looked at the site in Netscape 7 (what the client uses) and noticed that because I was using negative margins, the non-transparent title graphic overlayed other text and images. I tried z-index and it was unsuccessful.

So I was forced to change the titles to gif. Which makes the thumbs larger by about 2k each due to the fact that they use photos, albeit small ones.

In short, I’d like to have an image be a gif, but it’s thumb be a jpg. Is it possible?

Offline

#2 2006-07-19 21:45:43

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

Re: Image and thumb of different filetypes?

Is it possible?

Not really, no.

In theory, sure. You’d need to rewrite several core functions though.

Offline

#3 2006-07-19 22:41:44

jm
Plugin Author
From: Missoula, MT
Registered: 2005-11-27
Posts: 1,746
Website

Re: Image and thumb of different filetypes?

I might be a bit dense (likely), but couldn’t you manually upload a .jpg thumb with the TXP interface?

Last edited by deldindesign (2006-07-19 22:43:45)

Offline

#4 2006-07-19 22:55:02

webdav
New Member
From: Bozeman, MT
Registered: 2005-09-15
Posts: 2
Website

Re: Image and thumb of different filetypes?

deldindesign wrote:

I might be a bit dense (likely), but couldn’t you manually upload a .jpg thumb with the TXP interface?

That’s what I am already doing. Problem is, if the original is a jpg, the thumb must be too.

I’m ok with it though. Just meant having to make one thing that was a jpg into a gif instead.

PS – where in Montana do you live? I’m in Bozeman.

Last edited by webdav (2006-07-19 22:59:09)

Offline

#5 2006-07-20 00:56:45

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

Re: Image and thumb of different filetypes?

…couldn’t you manually upload a .jpg thumb with the TXP interface?

That’s what I am already doing. Problem is, if the original is a jpg, the thumb must be too.

Yes, it looks for an image’s thumb like this: <em>{image id}</em><strong>t.</strong><em>{image extension}</em>. So for an image “1.jpg”, it would look for “1t.jpg”.

Offline

Board footer

Powered by FluxBB