The Visual Index Project

csae8221 / 2011-11-29 08:58:49   

Edit by G470. double post mistake

G470 / 2011-11-29 16:45:06   

Hey csae8221 this thread is for the main unmodified plugin.
Never heard of this problem before. If you like write me a email info[at]gatonet.de
I´ll have a look what´s going wrong.

fg / 2012-01-09 03:16:47   

hey there,

i use the plugin on my site, but the links dont work and i cant see why not?
any ideas?
http://www.friedagoebbels.de/

thanks a lot!

Villybond / 2012-01-09 15:29:57   

Hi! This is cool! Thanks very much. I read the 4 pages of "The visual index project" and i saw every website/example...

I want to have something similar of this...

http://www.jeanjullien.com/work.html

Is it possible with this plug in?

rickykappa / 2012-01-10 04:52:19   

@fg - i'm not sure why you're using frames? free hosting? anyway your problem appears to be in clean url. search the forum to know more about... ;-)
@villybond - that isn't an indexhibit website, but yes, it's possible

fg / 2012-01-14 09:48:07   

@rickykappa thanks for your answer! but first of all i didnt use frames as far as i know, if there are any (it wasn't me ;)) but yesfree hosting...
the problem i#ve been sarching around for hte url thing and i set it back to fals in my htaccess file... but it doesn't change!
also searched the forum but nothing really helped ...
other ideas`? i would be very thankful because i really like the plugin!

Villybond / 2012-01-22 03:51:27   

@rickykappa, how is it possible? :)
I've installed the plug from Vaska but i want to set hoe big the images in the home will be. So i've installed the plug in visual_index_mansonary but is not working on my website...Webpage

rickykappa / 2012-01-22 06:01:26   

@villybond I can't find the exhibit you-re testing on and I've never used that version so there's not much to say ... maybe here you can find more info
@fg nothing changed from last post: your free hosted site is using frames (watch at your html source!) and for the linking problem you might try to ask to your host.
it' probably where you'll find out why free hosting isn't worth...
;-)

Villybond / 2012-01-22 09:34:18   

@rickykappa I've installed the Masonary from here.
http://raumzwei.gatonet.de/blog/indexhibit-downloads

rickykappa / 2012-01-22 12:12:33   
I can't find the exhibit you-re testing on
so is hard to say anything...
alucidwake / 2012-02-25 07:00:22   

hi there everyone. this project is fantastic, been using it for a while now quite successfully. you can check out my page here

i have a question, that i'm hoping someone can help me with. right now, the index displays image thumbnails, and when you rollover them with your mouse, the title of the exhibit appears. is it possible to switch that? i mean, can the index show just the titles, and when they are rolled over, a thumbnail appears?

here is the code i'm working with at the moment

function createExhibit()
{
    $OBJ =& get_instance();
    global $rs, $exhibit;
        
    $pages = $OBJ->db->fetchArray("SELECT media_file, url, title, media_order
        FROM ".PX."media, ".PX."objects
        WHERE id = media_ref_id
        AND media_order = (SELECT MIN(media_order) FROM ".PX."media WHERE media_ref_id = id)    ORDER BY media_id DESC");

    // ** DON'T FORGET THE TEXT ** //
    $s = $rs['content'];
    $s .= "nn";
    
    if (!$pages) return $s;
    
    $thumb = $rs['thumbs'] + 125;
    
    $i = 1; $j = 0; $a = '';     foreach ($pages as $go)
    {
        $title = ($go['title'] == '') ? ' ' : $go['title'];
        
        $a .= "n";
        $a .= "n";
        $a .= "n";
        $a .= "n";
                // if you don't want to show titles just take out the line below
        $a .= " {$title} n";

        $a .= "n";
        $a .= "n";
                     $a .= "nn";
        
        $i++; $j++;
    }
    
    // images
    $s .= "nn";
    $s .= $rs['content'];
    $s .= "n";
    $s .= $a;
    $s .= "n";
        
    return $s;
}

if anyone could advice, i would really greatly appreciate it! thank you

alucidwake / 2012-02-25 07:06:14   

hm, i probably shouldn't have assumed that the answer would lie in the createExhibit() function. here is my whole code that i should have put in my last post!

alucidwake / 2012-02-25 07:07:38   

... and now nothing appeared. ugh, my apologies for the triple post

$exhibit['dyn_css'] = dynamicCSS();
$exhibit['exhibit'] = createExhibit();
$exhibit['lib_js'] = array('jquery.masonry.min.js','jquery.lazyload.js');
$exhibit['dyn_js'] = dynamicJS();
function dynamicJS()
{
    
return "
    jQuery(window).load(function(){
         $(function(){
$('#img-container').masonry({
columnWidth: 225,
animate: true,
        itemSelector: '.thumb-it:visible',
animationOptions: {
duration: 1,
easing: 'linear',
specialEasing: { bottom: 'linear'},
queue: false
}
        
        
        
        
});
     $(function() { $('.thumb-it img').lazyload({placeholder : 'ndxz-studio/site/img/grey.gif'});
         effect : 'show'

         });        
jQuery('.mediainfo').css({opacity: 0});

});    
     jQuery('.thumb-it').hover(function(){
                 jQuery('.mediainfo', this).fadeTo('fast', 1)},
                        function(){
                            jQuery('.mediainfo', this).fadeTo('fast', 0)
                });
});
var loadingAnim = '" . BASEURL . "/';
    ";
}

function createExhibit()
{
    $OBJ =& get_instance();
    global $rs, $exhibit;
        
    $pages = $OBJ->db->fetchArray("SELECT media_file, url, title, media_order
        FROM ".PX."media, ".PX."objects
        WHERE id = media_ref_id
        AND media_order = (SELECT MIN(media_order) FROM ".PX."media WHERE media_ref_id = id)    ORDER BY media_id DESC");

    // ** DON'T FORGET THE TEXT ** //
    $s = $rs['content'];
    $s .= "nn";
    
    if (!$pages) return $s;
    
    $thumb = $rs['thumbs'] + 125;
    
    $i = 1; $j = 0; $a = '';     foreach ($pages as $go)
    {
        $title = ($go['title'] == '') ? ' ' : $go['title'];
        
        $a .= "n";
        $a .= "n";
        $a .= "n";
        $a .= "n";
                // if you don't want to show titles just take out the line below
        $a .= " {$title} n";         $a .= "n";
        $a .= "n";
                     $a .= "nn";
        
        $i++; $j++;
    }
    
    // images
    $s .= "nn";
    $s .= $rs['content'];
    $s .= "n";
    $s .= $a;
    $s .= "n";
        
    return $s;
}

function dynamicCSS()
{
    global $rs;
    
    // for .thumb-it we need #top: -50%; for IE...but it doesn't work.

    $thumb = $rs['thumbs'] + 125;
    
    return ".grow { float:left; margin-bottom: 25px; }
    .thumb { padding:25; text-align:left; display: table; height: {$thumb}px; #position: relative; overflow: hidden; width: {$thumb}px; }

    .grow strong { margin-top: 25px; text-align: left; display: block; font-weight: normal; text-align: center; }
    .grow em { font-style: normal; display: none; text-align: center;}
    
    .thumb-it { #position: absolute; _top: 50%; display: table-cell; vertical-align: middle; text-align: center;}
    .thumb-img { #position: relative; margin-top: 25px; width: {$thumb}px; display:block; }";
}

customery / 2012-02-27 05:27:55   

Hi everyone,
I'm quite desperate. I try again

customery / 2012-02-27 05:27:56   

Hi everyone,
I'm quite desperate. I try again

customery / 2012-02-27 05:27:57   

Hi everyone,
I'm quite desperate. I try again

customery / 2012-02-27 07:03:58   

Hi everyone,
I'm quite desperate. I try again and again to install this awesome plugin (main + section) into my website, but nothing shows up.
I guess something is wrong with my installation:

1- I downloaded the two .zip
2- After unzipping it, I uploaded it to /site/plugin
3- In my manager, I edited the page "main" (in the "Home" exhibit) and chose "Visual Index Main" as exhibition format.
4- For my section "Project", I did the same with an exhibit called 'proj', with nothing but "visual index section" on. All my other projects in this section are hidden.

Nothing appears on the main page nor on the "proj" page...
Any idea?
Any advice?

Did I miss something?
Do I have to modify something in the code?
I'm not that familiar with coding, but I definitely want to succeed.

Your help would be much appreciated. Thanks.

customery / 2012-02-27 07:04:13   

Hi everyone,
I'm quite desperate. I try again and again to install this awesome plugin (main + section) into my website, but nothing shows up.
I guess something is wrong with my installation:

1- I downloaded the two .zip
2- After unzipping it, I uploaded it to /site/plugin
3- In my manager, I edited the page "main" (in the "Home" exhibit) and chose "Visual Index Main" as exhibition format.
4- For my section "Project", I did the same with an exhibit called 'proj', with nothing but "visual index section" on. All my other projects in this section are hidden.

Nothing appears on the main page nor on the "proj" page...
Any idea?
Any advice?

Did I miss something?
Do I have to modify something in the code?
I'm not that familiar with coding, but I definitely want to succeed.

Your help would be much appreciated. Thanks.

rickykappa / 2012-02-27 08:52:00   

please read the forum rules, thankyou

customery / 2012-02-27 11:04:31   

Hi Ricky,
All my apologies for this multiple message. My fault.
If you're talking about the credit link, it's onto the copyright page.
If you're talking about something else, let me know, I'll be glad to fix this problem.
Thanks.

rickykappa / 2012-02-27 12:45:51   

hi, I didn't find the credit before, sorry...
about your problem, do you have images into the hidden exhibits? without images nothing will be shown by the visual index. also be careful that hidden and unpublished are not the same thing: your exhibits can be hidden but must be published.
but especially the section visual index, something doesn't look as you said: projet is in section-1, but also video, installations and writings are appearently in the same section if you look at each page html source (e.g. <body class='section-1'> ) although I can see from the url of your links that you've created other sections... weird.
did you edit your index.php?
did you edit your exhibit.visual_index_section.php?
these are hints for you to experiment and find a solution.
please don't post all your code here, you might have noticed that it doesn't work as expected.
also you might have noticed that support here has lowered - actually this was never officially supported - because there are too many customizations around and it isn't easy to know all of them and which one you're working on...

customery / 2012-02-28 02:28:42   

Well, thanks Ricky for your fast reply.
I do see what was the bug I think, maybe it will be helpful for some others.
I had images in my exhibits, but those ones were linked to my server, not from the indexhibit uploader. That was the problem. Am I clear?
Here is one example. All those documents are on my ftp, but nothing appeared to my homepage/section page. Then I tried to upload an image (a tiny colorful square at the bottom of this page) from the uploader. And here we go!

I'll now try to complete and edit my index.php, because you're right Ricky, I have a problem somewhere...
I'll figure it out anyhow...
Thanks again.

customery / 2012-03-28 02:55:31   

Hi Indexhibit users,
My website is almost finished. Good thing.

I was wondering if you can edit the order of the exhibits (on the main page and in the section index), and even better if you can randomize it (as you can do with the "Multi Column exhibit").
I guess I can add HTML lines somewhere and somehow in the code.

Please let me know.
Thanks!

rickykappa / 2012-03-28 04:41:12   

nice to see you finally did it, best compliments.
but why was the indexhibit link lost? not fair...

elsapopine / 2012-03-28 05:50:52   

hello everybody!!

I have a problem with the plugin visual index. I have been reading many post but still couldnt figure out the basics.
So I did what par and customery did:
1: downloaded "exhibit.visual_index.php" and put the "visual index main" in the plugin folder on the ftp server.
Now, it doesnt show anywhere on my exhibit.
I thought that the plugin would retrieve each image from each project and reduce it to thumbnails on the main page. How is it supposed to work?
Does the code of the plug-in has to be pasted in CSS or directly in exhibit?

I don't understand where place the code "from , In main? In the place of text? And what is the number of exhibition? Corresponding at the number of sections?
Thanks for your help!!!
I know its really the basics but I do not clearly find an answer on the forum. Here is my site : http://evathomassen.com/
Thanks a lot for taking the time!

Eva

pernin / 2012-03-28 05:57:01   

just go to edit your main page and choose Visual Index Main as your exhibition format, indexhibit will do the rest

elsapopine / 2012-03-28 06:37:17   

Thats what I try but Visual Index does not show up in the exhibition formats possibilities. Do I have the right plugin?

Does it work in the same way for the sectional visual index?

Thanks!

customery / 2012-03-28 06:37:21   

Hi Ricky!

It's not lost! Still at the same place, onto the copyright page, at the bottom of every page... Should I write somewhere else? I'll do it in the "About me" topic, anyway.

If I succeeded it's a bit because of you though!
Do you have any clue about the "randomizer"?

pernin / 2012-03-28 06:52:32   

@elsapopine: the plugin you need to upload is exhibit.visual_index_main.php, and there's another sectional: exhibit.visual_index_section.php

check your plugins folder and see if they are there

rickykappa / 2012-03-28 07:39:35   

@customery - it's allright, I just didn't find it, sorry...
about your question: html wouldn't help, it's a matter of php. you should try to compare the way ORDER is done in your exhibit.visual_index_main.php and (if this works as you would like)in the Multi Column exhibit.

elsapopine / 2012-03-28 08:04:58   

These plugins are indeed in the plugin folder. I do not understand why they are not showing up on my exhibit...

elsapopine / 2012-03-28 08:14:51   

it worked! Thank you for your help!
Until the next post...

blu / 2012-04-17 11:36:35   

Ciao rickykappa!

I'm back!

my site work quite good but I have still work on it!

Maybe you can help me with one of those problems: in the visual index here in my page I'm not able to have space between images, as you can see between the first row and the second there is no space...I suppose it is why the img-conteiner height is too small, but WHERE I have to set it?

grazie mille!
blu

rickykappa / 2012-04-17 12:19:39   

ciao blu, you should probably work it out with the
function dynamicCSS()
at the bottom of the visual index php.
these instructions are written in your page (watch at the html source), make one change at a time, refresh the page and check the results (check the html source)
step by step...
;-)

blu / 2012-04-20 03:31:52   

grazie rickykappa!
I made it!

I was wrong because I focused on "img-container" while I should have to work on "thumb-img" margin...

jineous / 2012-05-13 08:19:15   

hi. this can be silly, all the download link for "Exhibit: multi column timthumb is dead".
where can i get this cool thing? I really wanna use that.

thank you.

Edited by Vaska - we don't post email addresses to the forum.

alucidwake / 2012-05-20 14:59:34   

hello there amigos. quick question, due to a massive brain fart. i hope you don't mind the smell too much. but to start, my site http://nickaxel.net

i have various sections. right now, all of them show in the visual index main. i would like to hide the section 'photography', sec_id '8', from the visual index main, but keep it in the section list (on the left). i don't want the thumbnails of 'photography' to show on the visual index.

i've tried in the function createExhibit() to add in the fetcharray "AND sec_id != '8'" right before the ORDER BY, but instead this makes my entire site go broke. also tried adding sec_id to the fetcharray SELECT, but it doesn't do anything.

thank you greatly fine sirs!

G470 / 2012-05-21 22:48:29   

hmm, this should work... you´re on the right way.
Please post your whole select. Maybe we can find the bug.

alucidwake / 2012-05-22 08:21:14   

this is what the code starts as:

  1. function createExhibit()
  2. {
  3.     $OBJ =& get_instance();
  4.     global $rs, $exhibit;
  5.         
  6.     $pages = $OBJ->db->fetchArray("SELECT media_file, url, title, media_order 
  7.         FROM ".PX."media, ".PX."objects 
  8.         WHERE id = media_ref_id 
  9.         AND media_order = (SELECT MIN(media_order) FROM ".PX."media WHERE media_ref_id = id)    
  10.         ORDER BY media_id DESC");

and this is what code I try and it makes NO exhibits show up in my site:

  1. function createExhibit()
  2. {
  3.     $OBJ =& get_instance();
  4.     global $rs, $exhibit;
  5.         
  6.     $pages = $OBJ->db->fetchArray("SELECT media_file, url, title, media_order, sec_id 
  7.         FROM ".PX."media, ".PX."objects 
  8.         WHERE id = media_ref_id 
  9.         AND media_order = (SELECT MIN(media_order) FROM ".PX."media WHERE media_ref_id = id)
  10.         AND sec_id    != '8'
  11.         ORDER BY media_id DESC");

this is in my exhibit.visual_index_main.php that is located in my site/plugin folder... let me know if you need me to post more. thank you!

G470 / 2012-05-22 10:03:07   

...
edit... better answer below :)

alucidwake / 2012-05-22 10:36:10   

thanks for the quick reply g470. i tried that, didn't work :( when i put just sec_id under the SELECT, it still breaks, or when i put the WHERE NOT (or AND !=), it doesn't work either. hrm. could the call sec_id be an invalid category for this part of the function?

G470 / 2012-05-22 20:51:16   

Arrrrrrrg, sorry yes it´s "section_id" and you have to call it in your select...

  1. $pages = $OBJ->db->fetchArray("SELECT media_file, url, title, section_id, media_order 
  2.         FROM ".PX."media, ".PX."objects 
  3.         WHERE id = media_ref_id 
  4.         AND section_id    != '8'
  5.         AND media_order = (SELECT MIN(media_order) FROM ".PX."media WHERE media_ref_id = id)");
  6. ...works
alucidwake / 2012-05-23 02:43:09   

ah hah! yes that works beautifully! thank you very much g470

This thread has been closed, thank you.