Indexhibit
Index + Exhibit

Login:

Created by
Daniel Eatock
Jeffery Vaska
And You

Indexhibit was updated to version 2.1.4 on April 10, 2017.

Exhibit Plugin: Visual Index

 

Indexhibit version: Legacy
Thread is not resolved.

Vaska A
UNITED STATES
10 year(s) ago
Permalink Post

Visual Index :: 26 June 2007

(exhibit.visual_index.php)

The Visual Index exhibition plugin allows you to create a page of thumbnails of any pages situated in the section it is published within. It will display the first exhibit image from any exhibit that has images.

For insance, if you wish to show a visual index of 'section x', create a page and simply select 'Visual Index' from the Exhibition Format select menu. You may add text to the page. Obviously, you can not add further images to the page where you use this plugin.

Download and copy the extracted file to your /www.com/ndxz-studio/site/plugin folder.

Downloads

markomania
AUSTRIA
10 year(s) ago
Permalink Post

works great-thank you!
but i´d have one more question-using the visual index with hidden exhibits does not seem to work-once you hide an exhibit in the index, the visual index doesnot show the first image any more-is that meant to be like that?

Vaska A
UNITED STATES
10 year(s) ago
Permalink Post

Change line 26 from

AND hidden != '1'

to

AND hidden = '1'

then it will ONLY show hidden pages in that section.

Or, you could take that out completely and it will show any published thing from the section.

markomania
AUSTRIA
10 year(s) ago
Permalink Post

perfect!
thanks a lot!

rosalia
AUSTRIA
10 year(s) ago
Permalink Post

the visual index is a great tool. thanks!! i was wondering if it would be possible to define the thumbnail size or/and the space between the thumbnails.

Vaska A
UNITED STATES
10 year(s) ago
Permalink Post

You could do that within the plugin...there is a spot for adjusting the css. You could also adjust the thumbnail size straight the code.

Good idea, I could also add the thumbnail size to the plugin part of things as well.

rosalia
AUSTRIA
10 year(s) ago
Permalink Post

I think it would be fantastic, if you could add the thumbnail size to the plugin part! Do you have an idea from about when on this tool could be available? Thanks.

Vaska A
UNITED STATES
10 year(s) ago
Permalink Post

How about in 5 minutes from now?

Woops. I'm confused. This is an exhibit plugin and not a regular plugin. So, it's not possible to make it quite that easy. However, I added a line at the top of the file you can edit. The new default is 150. If you would like to change the value you can simply edit it in the file:

$height = 125;

Just be sure that your thumbnails aren't too big or there could be some messiness. We'll improve these things in the future.

markomania
AUSTRIA
10 year(s) ago
Permalink Post

a great tool this plug-in is!!

Vaska A
UNITED STATES
10 year(s) ago
Permalink Post

People are already customizing it...we might have other iterations of it to release soon.

serviceforthepeople
HONG KONG
10 year(s) ago
Permalink Post

is it possible to have the thumbnail as what ever size the image is ?
i want to have different size images in he visual index.

also can it display the exhibit name next to the image ?

thanks..

Vaska A
UNITED STATES
10 year(s) ago
Permalink Post

it could...if you customize it a little bit. ;)

serviceforthepeople
HONG KONG
10 year(s) ago
Permalink Post

been trying to tweak it for a while now ...
can you give me some pointers .. in the which part i should be messing with ?
or how i can find out how to do this ?

Vaska A
UNITED STATES
10 year(s) ago
Permalink Post

I don't really know. You need to edit the css and the code where you deal with the size of the image. You'll need to set a hard value...and perhaps adjust the css to deal nicely with the change.

Aside from sitting down and doing it myself (no time for it), that's about the best explanation I can give.

serviceforthepeople
HONG KONG
10 year(s) ago
Permalink Post

ok ... i see what i can do .. thanks anyways !

rofl
BELGIUM
10 year(s) ago
Permalink Post

Hello Vaska,
Is it possible to display the thumbnails from all my sections ?

Vaska A
UNITED STATES
10 year(s) ago
Permalink Post

It's possible, but the plugin doesn't do that. Could be hacked up to do this though.

trimel
UNITED STATES
10 year(s) ago
Permalink Post

I think Ive stumbled on a little bug...
when I deleted the first related asset to an entry, the plugin no longer lists this in its index... is it not refreshing the relationship to the next asset?

trimel
UNITED STATES
10 year(s) ago
Permalink Post

ah its in the query i see... the asset with media_order as 1 no longer exists when removing the asset from the entry so none is found... so either removing this line, which will result in sporadic thumbnail results or re-writing to fetch the lowest media_order value would solve the problem...


$imgs = $OBJ->db->fetchRecord("SELECT media_file, url, title FROM ".PX."media, ".PX."objects WHERE media_ref_id = '$get[id]' AND id = media_ref_id AND media_order = '1'");

trimel
UNITED STATES
10 year(s) ago
Permalink Post

once i revist my sql skills ill post a fix...

trimel
UNITED STATES
10 year(s) ago
Permalink Post

Okay so here is the revised query that will do the trick...


SELECT media_file, url, title, media_order FROM ".PX."media, ".PX."objects WHERE media_ref_id = '$get[id]' AND id = media_ref_id AND media_order = (SELECT MIN(media_order) FROM ".PX."media WHERE media_ref_id = id)

simply instead of always looking for the media_order=1 it will find the lowest value of media_order within a series of related assets, so in the situation where you have say deleted the first thumbnail, your image used for the visual index will default to the next lowest number... I guess this beats refreshing the media_order fields for that set...

Vaska A
UNITED STATES
10 year(s) ago
Permalink Post

Or, you could simply resort your images after you have deleted one. I thought that the order was updated when an image was deleted but I guess not...easy to fix.

shiftshane
UNITED STATES
10 year(s) ago
Permalink Post

Hey Vaska (or anyone else), I just saw that you discontinued support for the Visual Index plugin and removed it from the downloads page. Is there any way that I could obtain a copy of the plugin? I promise to not ask for help with it :)

Thanks so much!

Vaska A
UNITED STATES
10 year(s) ago
Permalink Post

Sorry, it's gone.

Showing 1 - 24 of 24 posts in Forum » Announcements » Exhibit Plugin: Visual Index
 

This thread has been closed, thank you.