Different Images displayed for different sections e.g. media:content, media:thumbnail and teaser

guix - December 17, 2008 - 14:06
Project:Media RSS
Version:6.x-2.4
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:closed
Description

#1

guix - December 17, 2008 - 14:08
Title:<media:content and <media:thumbnail display the original picture, not the The ImageCache Preset and Image Module Picture Size» wrong picture picture size

#2

guix - December 17, 2008 - 14:08

media:content and media:thumbnail display the original picture, not the The ImageCache Preset and the Image Module Picture Size

However the good pictures display in the feed teasers when you choose for example "Title plus single picture plus teaser".

#3

Microbe - December 17, 2008 - 16:25

This is as it is meant to be written so that the original image is the one linked to when loading media RSS feeds in other programs.

I can add a extra option to choose which image is link in separate from the teaser? What do you think.

Peter

#4

guix - December 17, 2008 - 17:01

Hello Peter,

Yes it would be nice like that, because sometimes external websites want to have the thumbnail separatly from the teaser and the teaser in plain text in order to include the thumbnail where and how they want. Currently they have to process the picture to make a thumbnail, moreover media:content and media:thumbnail is the same file.

So the perfect set up would be :

- Teaser
-- CCK ImageField :
-- ImageCache Preset :
-- Image Module Picture Size :

- Media:content
-- CCK ImageField :
-- ImageCache Preset :
-- Image Module Picture Size :

- Media:thumbnail
-- CCK ImageField :
-- ImageCache Preset :
-- Image Module Picture Size :

That way the teaser text without the picture can be provided (with the Default RSS Display), a thumbnail can be provided with media:thumbnail, and the external website can further process the picture with media:content (for example if they need a larger thumbnail).

I just hope I'm not asking too much ;)

#5

Microbe - December 17, 2008 - 17:22

Not too much although could be little tricky. I wasn't think about thumbnail and content so will definitely separate those.

ImageCache Preset will be easy to add separate values for, so will image module picture size.

However CCK ImageField I won't separate because for media:content and media:thumbnail they should be the same image even if they are different sizes.
I might separate it for the teaser though.

Does this sound ok or can it be improved.

Peter

#6

guix - December 17, 2008 - 17:42

However CCK ImageField I won't separate because for media:content and media:thumbnail they should be the same image even if they are different sizes.
I might separate it for the teaser though.

I don't get it, are we talking about the same thing ? Yes media:content and media:thumbnail represent the same image, and in different sizes. But they do not represent the same file, because the first could be the full size picture (eg : /files/picture1.jpg) and the second could be a Thumbnail preset generated by ImageCache (eg : /files/imagecache/thumbnail/picture1.jpg)

I'm a bit confused :)

#7

Microbe - December 17, 2008 - 17:57

ImageFields - You choose this once, this defines which fields will represent media entries (not all imagefield fields will be added if you don't want them too)

ImageCache - You will be able to choose this for each of teaser, thumbnail and content (Image module size will be same)

I have attached an example form to explain it a bit better. It doesn't include image module size fields

Peter

#8

guix - December 17, 2008 - 18:06

ImageFields => I get it ! I wasn't talking about choosing which fields will represent media entries in ImageFields (since I only have 1 ImageField for the moment), but for sure this would be an awesome feature often asked for !

ImageCache => Yes that would be perfect like that !

Thanks a lot Peter

#9

Microbe - December 17, 2008 - 22:30

I wasn't talking about choosing which fields will represent media entries

What were you talking about?

#10

Microbe - December 18, 2008 - 00:30
Title:wrong picture picture size» Different Images displayed for different sections e.g. media:content, media:thumbnail and teaser
Version:6.x-2.3» 6.x-2.4
Category:bug report» feature request
Status:active» needs review

I have commited an initial version of this - 6.x-2.4

#11

guix - December 18, 2008 - 07:37
Status:needs review» closed

What were you talking about?

I was talking about the exact features you just added to 6.x-2.4 ! You are my hero, thanks again !!!

#12

guix - December 18, 2008 - 07:41
Status:closed» fixed

Ooops, setting the status to fixed instead of closed, sorry.

#13

System Message - January 1, 2009 - 07:50
Status:fixed» closed

Automatically closed -- issue fixed for two weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.