Author Topic: Thumbnails in RSS  (Read 51814 times)

0 Members and 1 Guest are viewing this topic.

Offline netlovers

  • Pre-Newbie
  • Posts: 9
    • View Profile
Thumbnails in RSS
« on: December 02, 2007, 01:41:38 PM »
Is it possible to also display thumbnail of image with the name of image in RSS.Because by default it only shows names of images in RSS.

Offline thunderstrike

  • 4images Guru
  • *******
  • Posts: 2.327
    • View Profile
Re: Thumbnails in RSS
« Reply #1 on: December 02, 2007, 02:23:28 PM »
Hum ...

// Step 1

In rss.php file,

find:

Code: [Select]
'title' => format_rss_text($row['image_name']),

add after:

Code: [Select]
'image' => get_thumbnail_code($row['image_media_file'], $row['image_thumb_file'], $row['image_id'], $row['cat_id'], format_rss_text($row['image_name']), ((isset($mode) && !empty($mode)) ? $mode : ""), 1),

find:

Code: [Select]
'item_title' => $item['title'],

add after:

Code: [Select]
'item_image' => $item['image'],

// Step 2

In templates/your_template/rss_item.xml file,

find:

Code: [Select]
<title>{item_title}</title>

add after:

Code: [Select]
<image>{item_image}</image>

Is work ?
8 steps need when ask question -

- PHP version (ACP - > phpinfo())
- mySQL version (ACP - > phpinfo())
- 4images version
- Post screenshot / URL
- Post code in BB Code (no need full file for code) or post attach file
- It doesn't work. What is say - what is do for no work
- Install MOD ? If so - please say (troubleshooting)
- Read FAQ ? Install Bug fixes ?

Offline netlovers

  • Pre-Newbie
  • Posts: 9
    • View Profile
Re: Thumbnails in RSS
« Reply #2 on: December 02, 2007, 06:53:08 PM »
No it is not working.  :cry:

Offline thunderstrike

  • 4images Guru
  • *******
  • Posts: 2.327
    • View Profile
Re: Thumbnails in RSS
« Reply #3 on: December 02, 2007, 07:20:40 PM »
I no good with RSS ...
I add in TODO - if find - I post. ;)
8 steps need when ask question -

- PHP version (ACP - > phpinfo())
- mySQL version (ACP - > phpinfo())
- 4images version
- Post screenshot / URL
- Post code in BB Code (no need full file for code) or post attach file
- It doesn't work. What is say - what is do for no work
- Install MOD ? If so - please say (troubleshooting)
- Read FAQ ? Install Bug fixes ?

Offline wallpapers

  • Full Member
  • ***
  • Posts: 107
    • View Profile
    • Tuned-Cars.Net
Re: Thumbnails in RSS
« Reply #4 on: May 27, 2008, 10:15:18 PM »
I no good with RSS ...
I add in TODO - if find - I post. ;)

And any solutions for this question?
I know it's a old post but this is the only topic for what i looking for.



Offline mawenzi

  • Moderator
  • 4images Guru
  • *****
  • Posts: 4.500
    • View Profile
Re: Thumbnails in RSS
« Reply #5 on: May 27, 2008, 10:22:48 PM »
... only a hint for a solution : here ...
... and the feed looks like this ...
Your first three "must do" before you ask a question ! ( © by V@no )
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

You are on search for top 4images MOD's ?
- then please search here ... Mawenzi's Top 100+ MOD List (unsorted sorted) ...

Offline wallpapers

  • Full Member
  • ***
  • Posts: 107
    • View Profile
    • Tuned-Cars.Net
Re: Thumbnails in RSS
« Reply #6 on: May 28, 2008, 08:11:53 PM »
Thx
it works great.
just what i want :D



Offline mawenzi

  • Moderator
  • 4images Guru
  • *****
  • Posts: 4.500
    • View Profile
Re: Thumbnails in RSS
« Reply #7 on: May 28, 2008, 09:20:53 PM »
... nice to read, that it works great for you and that I could help ... :)
Your first three "must do" before you ask a question ! ( © by V@no )
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

You are on search for top 4images MOD's ?
- then please search here ... Mawenzi's Top 100+ MOD List (unsorted sorted) ...

Offline J.Lond

  • Newbie
  • *
  • Posts: 23
    • View Profile
Re: Thumbnails in RSS
« Reply #8 on: June 04, 2008, 03:11:54 PM »
... only a hint for a solution : here ...
... and the feed looks like this ...

Can you turn on the download for the zip files in your gallery please.  I am quite interested in this mod.  Thank you.

Offline Mr Kennedy

  • Jr. Member
  • **
  • Posts: 81
    • View Profile
Re: Thumbnails in RSS
« Reply #9 on: June 04, 2008, 04:14:28 PM »
... only a hint for a solution : here ...
... and the feed looks like this ...

Can you turn on the download for the zip files in your gallery please.  I am quite interested in this mod.  Thank you.

dito würde mich sehr freuen zu sehen wie Thumbnails in RSS funktionieren :)

Offline Bob

  • Jr. Member
  • **
  • Posts: 79
    • View Profile
Re: Thumbnails in RSS
« Reply #10 on: June 04, 2008, 04:41:46 PM »
von mir auch ein Dito nicht nur wegen den Thumbs sonder auch die ganze Formatierung ist sehr gut :)

würde mich sehr freuen wenn mawenzi den DL freigibt

Gruss
Bob

Offline mawenzi

  • Moderator
  • 4images Guru
  • *****
  • Posts: 4.500
    • View Profile
Re: Thumbnails in RSS
« Reply #11 on: June 11, 2008, 04:18:11 PM »
... danke, dass euch mein Feed so gut gefällt ...
... wenn ich nächste Woche wieder am heimischen PC sitze, dann geht es für euch in der Download-Area weiter ...
... bis dahin bitte etwas Geduld ...
Your first three "must do" before you ask a question ! ( © by V@no )
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

You are on search for top 4images MOD's ?
- then please search here ... Mawenzi's Top 100+ MOD List (unsorted sorted) ...

Offline J.Lond

  • Newbie
  • *
  • Posts: 23
    • View Profile
Re: Thumbnails in RSS
« Reply #12 on: June 20, 2008, 12:05:43 PM »
... danke, dass euch mein Feed so gut gefällt ...
... wenn ich nächste Woche wieder am heimischen PC sitze, dann geht es für euch in der Download-Area weiter ...
... bis dahin bitte etwas Geduld ...


Yes thank you I will wait.

Offline silentg

  • Newbie
  • *
  • Posts: 16
    • View Profile
    • WallpaperJoint
Re: Thumbnails in RSS
« Reply #13 on: June 21, 2008, 04:53:05 AM »
Patiently waiting for the mod downloads.
Thanks to google translator :lol:

Offline Bob

  • Jr. Member
  • **
  • Posts: 79
    • View Profile
Re: Thumbnails in RSS
« Reply #14 on: June 24, 2008, 01:02:54 AM »
... danke, dass euch mein Feed so gut gefällt ...
... wenn ich nächste Woche wieder am heimischen PC sitze, dann geht es für euch in der Download-Area weiter ...
... bis dahin bitte etwas Geduld ...


Möchte ja nicht drängeln...

aber hat sich leider nichts getan bis jetzt, ich möchte gerne sehen wie du das gemacht hast (neugierig bin) .