• [MOD] similar images 4 0 5 1
Currently:  

Author Topic: [MOD] similar images  (Read 55411 times)

0 Members and 1 Guest are viewing this topic.

Offline relu

  • Newbie
  • *
  • Posts: 44
    • View Profile
    • Pulsarmedia
Re: [MOD] similar images
« Reply #30 on: November 15, 2012, 05:49:30 PM »
my server is crashing after adding this mood. somehow stop responding with 100% server load. I notticed that also images that visible only to admin is showing in similat images.

Offline dp

  • Newbie
  • *
  • Posts: 37
    • View Profile
Re: [MOD] similar images
« Reply #31 on: November 16, 2012, 09:01:54 AM »
my server is crashing after adding this mood. somehow stop responding with 100% server load. I notticed that also images that visible only to admin is showing in similat images.

Hi relu,

do your images have proper keywords or descriptions? The mod as it is uses keywords. If there are none, the main loop will not terminate.

I'm using this mod with a database of nearly 8000 images and extensive metadata without problems. Maybe your gallery is much bigger? I can't guarantee the reliability of this mod for any number of images ...

Offline relu

  • Newbie
  • *
  • Posts: 44
    • View Profile
    • Pulsarmedia
Re: [MOD] similar images
« Reply #32 on: November 17, 2012, 12:11:30 PM »
My page is heavy mooded and i have around 80.000 images on my page. i figure out twice times when i installed the mood that my server hung up after short time and just after i remove this mod was back. Overall images are with description and keywords right.

Offline kar76

  • Newbie
  • *
  • Posts: 45
    • View Profile
Re: [MOD] similar images
« Reply #33 on: July 21, 2013, 02:26:06 PM »
Hi

Nice Mode but i am facing one problem with it.
I try to add {cat_name} tag but it not show cattegory name but on detail page this tag works every where
How to fix it?

Offline kar76

  • Newbie
  • *
  • Posts: 45
    • View Profile
Re: [MOD] similar images
« Reply #34 on: July 26, 2013, 01:22:21 AM »
Does anyone has no idea how to include {cat_name} tag to this mode :?:

In this mod {image_name} tag works but when use {cat_name} it show blank space
i try to figure it out but fail

Rembrandt

  • Guest
Re: [MOD] similar images
« Reply #35 on: July 26, 2013, 05:51:56 AM »
Hi!
Does anyone has no idea how to include {cat_name} tag to this mode :?:
..

search in the mod:

$sql 
"SELECT *
        FROM "
.IMAGES_TABLE."
        WHERE image_id IN (" 
$image_ids ")


and replace:

$sql 
"SELECT i.*, c.cat_name
        FROM ("
.IMAGES_TABLE." i,  ".CATEGORIES_TABLE." c)
        WHERE image_id IN (" 
$image_ids ")AND c.cat_id = i.cat_id

search:

show_image
($image_row_similarimages);

insert below:

    $site_template
->register_vars(array(
      
"cat_name" => format_text($image_row_similarimages['cat_name'], 2)
    ));


mfg Andi

Offline Starblade

  • Newbie
  • *
  • Posts: 10
    • View Profile
Re: [MOD] similar images
« Reply #36 on: October 23, 2014, 01:12:19 PM »
Hallo,

habe es eben mal eingebaut und leider läuft es nicht. Anstelle der Bilder, wird nur der Text " similar images " angezeigt.

Ist doch richtig das sich die Suche nach den Keywords und oder der Bildbeschreibung richtet, oder ?

Rembrandt

  • Guest
Re: [MOD] similar images
« Reply #37 on: October 23, 2014, 03:27:05 PM »
Hast du das "{similar_images}" in die HTML geschrieben dann sollte es funktionieren, seinerzeit hatte ich den Mod getestet und er funktionierte, ansonsten hätte ich ihn nicht verschoben.