Author Topic: Show a thumbnail instead of a folder icon next to category  (Read 130942 times)

0 Members and 1 Guest are viewing this topic.

Offline whoopiedoo2

  • Newbie
  • *
  • Posts: 28
    • View Profile
Re: Show a thumbnail instead of a folder icon next to category
« Reply #45 on: August 12, 2007, 02:23:04 AM »
why am i getting this:
Quote
An unexpected error occured. Please try again later.
ERROR: Could not load configuration settings!

Offline thunderstrike

  • 4images Guru
  • *******
  • Posts: 2.327
    • View Profile
Re: Show a thumbnail instead of a folder icon next to category
« Reply #46 on: August 14, 2007, 12:13:05 AM »
SETTINGS_TABLE alter. Restore backup.
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 matosale

  • Full Member
  • ***
  • Posts: 160
    • View Profile
    • My Way of Life
Re: Show a thumbnail instead of a folder icon next to category
« Reply #47 on: October 10, 2007, 06:34:01 PM »
Hi!

On my cats I have 2 main cats (testing 4images...) the fist one has images, the other one has subcategories but no pics
 + Gallery
 +-- Main Cat 1
  | +-- Pictures
 +-- Main Cat 2 (not pics here)
    +-- Sub cat 1 (pics)
    +-- Sub cat 2 (pics)

So, the main cat 1 has a random pic instead the folder icon, but the main cat 2 has nothing (I think this is normal), AND the sub cat 1 (which has pics inside) has NO random icon!


this is the main cat


and this is the sub cats

Any idea on the subject? ;)
Alejandro Matos
   Lima - Perú

   Linz - Austria
   Helsinki - Finland
   Seville - Spain



Offline WeZ

  • Jr. Member
  • **
  • Posts: 72
    • View Profile
Re: Show a thumbnail instead of a folder icon next to category
« Reply #48 on: October 30, 2007, 02:22:25 PM »
Hi Matosale,

i think i know what's up with your problem... the Category "Spain" has 14 images in it (NOT including the ones in sub cats). It displays Category Image fine... Although "Austria" has 1776 pictures in it, they are all in sub cats - this leaves the MOD no pictures in the "Austria" folder to generate a picture from.

move a few pictures into the root of your Austria folder and you should see an icon for it from homepage...

Cheers
WeZ

Offline mijac

  • Pre-Newbie
  • Posts: 6
    • View Profile
Re: Show a thumbnail instead of a folder icon next to category
« Reply #49 on: December 01, 2007, 09:57:52 PM »
where about can I edit the html in what exactly do I put to have a thumnail of about 50x50?

Offline thejflo

  • Pre-Newbie
  • Posts: 4
    • View Profile
    • Juicy Flawless
Re: Show a thumbnail instead of a folder icon next to category
« Reply #50 on: October 28, 2008, 01:56:25 AM »
edit.
« Last Edit: October 28, 2008, 02:36:01 AM by thejflo »

Offline camera

  • Pre-Newbie
  • Posts: 4
    • View Profile
Re: Show a thumbnail instead of a folder icon next to category
« Reply #51 on: October 29, 2008, 04:31:37 PM »
Great mod. It works as expected.

Offline DJKat

  • Newbie
  • *
  • Posts: 22
    • View Profile
Re: Show a thumbnail instead of a folder icon next to category
« Reply #52 on: February 13, 2009, 01:28:37 PM »
Hi there!

Just tried to get this working, but with no success...  8O

Have 4images 1.7.6 with photo-community template.
Any Hints?

------------

Mahlzeit!

Hab gerade versucht das hier zum laufen zu kriegen, aber ohne Erfolg.

Irgendwelche Ideen woran das liegen kann?


LG Dany

Offline haider512

  • Full Member
  • ***
  • Posts: 153
    • View Profile
Re: Show a thumbnail instead of a folder icon next to category
« Reply #53 on: December 05, 2010, 12:41:53 AM »
Code: [Select]
<div class="cat"><a href="{cat_url}">{cat_name}</a><span>({num_images})</span>{if cat_is_new} <span class="new">{lang_new}</span>{endif cat_is_new}</div>
{if cat_description}<span class="smalltext">{cat_description}</span><br />{endif cat_description}
{if sub_cats}{sub_cats}{endif sub_cats}

i have this code in iceberg template catogry_bit...the above is the whole code..


how to set the custome image for catogries..???

please help...looking forward to your help..

Offline Rembrandt

  • Moderator
  • 4images Guru
  • *****
  • Posts: 4.187
  • Vienna
    • View Profile
    • Vienna Pictures
Re: Show a thumbnail instead of a folder icon next to category
« Reply #54 on: December 05, 2010, 05:35:42 AM »
..
how to set the custome image for catogries..???
...

not custom, but random
Code: [Select]
<div class="cat"><a href="{cat_url}"><img src="{random_cat_image_file}" border="0"></a><span>({num_images})</span>{if cat_is_new} <span class="new">{lang_new}</span>{endif cat_is_new}</div>
{if cat_description}<span class="smalltext">{cat_description}</span><br />{endif cat_description}
{if sub_cats}{sub_cats}{endif sub_cats}
Meine 4Images Modifikationen  Now over 100 Modification Online!    Meine 4images Demo Seite


Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)

Offline haider512

  • Full Member
  • ***
  • Posts: 153
    • View Profile
Re: Show a thumbnail instead of a folder icon next to category
« Reply #55 on: December 07, 2010, 06:56:17 AM »
...

thanks..i found a mod here on this site which give us capability of set custom image..
Anyways thanks..
« Last Edit: December 07, 2010, 09:33:11 AM by Rembrandt »

Offline jerrykhang

  • Pre-Newbie
  • Posts: 2
    • View Profile
Re: Show a thumbnail instead of a folder icon next to category
« Reply #56 on: March 11, 2011, 07:38:17 AM »
Thanks. It helps me alot :lol:

Offline bekatcho

  • Pre-Newbie
  • Posts: 3
  • العاب بنات كول
    • View Profile
Re: Show a thumbnail instead of a folder icon next to category
« Reply #57 on: July 08, 2014, 11:36:59 PM »
thanks

Offline visionpakhsh

  • Pre-Newbie
  • Posts: 2
    • View Profile
    • visionpakhsh
Re: Show a thumbnail instead of a folder icon next to category
« Reply #58 on: October 01, 2016, 04:03:37 PM »
Thank you for the helpful content
Good luck  :D
xxx: visionpakhshxxx:

Offline mahsabk

  • Newbie
  • *
  • Posts: 16
    • View Profile
    • شرکت بازرسی فنی جرثقیل
Re: Show a thumbnail instead of a folder icon next to category
« Reply #59 on: May 30, 2018, 02:19:11 PM »
can you resize the thumbnails as you want?
<a href="http://karenlift.com">بازرسی جرثقیل آسانسور و لیفتراک</a>
<a href="http://karenweld.com">بازرسی جوش</a>
<a href="http://samitechnic.com">تعمیرات لوازم خانگی</a>