IImage Gallery
This plugin for WordPress should help you to add simple but nice galleries to your posts. Look at these examples!
This code is the simplest gallery:
<gallery>
<img src="http://blabla/stop_the_evil.jpg" title="Stop The Evil!" alt="stop_it" />
<img src="http://blabla/oko3.jpg" alt="I See You Baby!" />
<img src="http://blabla/house_of_the_rising_sun.jpg" title="House of The Rising Sun" />
</gallery>
Result is clickable set of thumbnails where title and alt atributes of original images are used for thumbnails. Thumbnails are automatically created when you save the post. (with default settings specified in iimage-gallery.php)
Well, this is not really nice gallery, I'd rather specify size, crop, quality… for this gallery:
<gallery crop="true" crop_center="true" max_side="100" quality="95" stand_alone="false">
<img src="image1.jpg" />
<img src="image2.jpg" />
<img src="image3.jpg" />
<img src="image4.jpg" />
…
</gallery>
(All possible parameters are used here.)
Result - cropped low compressed images with size of 100 pixels.
You can change all default settings in iimage-gallery.php file:
before = '<div class="gallery">'
will be placed before every gallery
after = '</div>'
will be placed after every gallery
before_each = '<a href="%s" class="gallery_item">'
will be placed before each image
%s will be replaced with 'src', 'alt', 'title' in this order
this could be useful for something like this:
<a href="my-gallery.php?img=%s&alt=%s&title=%s">
after_each = '</a>'
will be placed after each image
cache_dir = '/thumb-cache/'
relative to your upload directory
this plugin will try to create it for you, but don't rely on it
recreate_when_updated = true
should be thumbnails recreated when post is updated?
maybe you'd rather create only new thumbnails?
default_quality = 90
0..100 - quality of JPEG compression
default_max_side = 100
largest side of thumbnail in pixels
default_crop = false
crop images to square thumbnails
default_crop_center = true
crop image to upper left corner or to the center?
ig_show_errors = true
if true - error message will be added at the end of your post
default_sharpening = 0
value = 0..100
0 means no sharpening at all
Be carefull about this parameter because harpening takes quite a long time and the script can exceed the time limit for running.
use_permalinks = true
if true, permalinks will be used instead of passing parameters to the gallery script in traditional way (= iimage-gallery.php/23/3/1/ instead of iimage-gallery.php?idpost=23&idg=3&idi=1). Should work on most servers.
Most of these setting can be overwritten for single gallery as is showen in second example.
I guess I don't have to teach you how to use CSS for creating your own look of your galleries:o)
It should work with JPEG, PNG and GIF files, but it seems that there is some bug in PHP getimagesize() function so it works, on my server, only with JPEG files. That is good enough in most cases:o)
Original files can be on any URL, thumbnails will be created from them and saved into your thumb-cache directory.
Important
If you are using any WYSIWYG editor you should use [gallery]…[/gallery] instead of <gallery>…</gallery> tags.
Relative paths of images can be used. The only requirement is to use paths that are relative to the URI of your blog.
Download:
iimage-gallery-integrated-template.php_ - template for stand-alone browser that inegrates the look of the browser with the rest of your web. Download it and rename to iimage-gallery-template.php
Other recommended plugins
Stand-alone browser
Since version 1.3 IImage Gallery has a stand-alone browser for your galleries. Try it here:
You can completely change the look of the browser in iimage-gallery-template.php. I would appreciate if you sent me your templates so I could offer them to other users. My e-mail address is at the bottom of this page.
You can turn on/off the stand-alone mode for every gallery:
<gallery stand_alone="false">
…
</gallery>
To set if stand-alone should be used as default or not - change $ig_settings['ig_default_stand_alone'] in iimage-gallery.php
Known bugs: co-operation between IImage Gallery and Polyglot is not perfect at the moment but I know about that.
Installation:
As any other plugin - download it, unpack it to you plugin directory and activate it.
You should manually create thumb-cache directory in your default upload directory. That's usually wp-content so you should create it there.
Don't forget to look at: Custom pattern examples for IImage Gallery

Trevor 2004-12-04 / 11.18 pm
This doesn’t work for me. I’ve installed it, it claims it writes the files (chmod 777 on directory too) and puts the correct hash in the img tag, however.. the image is never created. Weird, huh?
malyfred 2004-12-05 / 2.28 pm
Well, maybe some problem with GD library or…? If you have installed IImage Browser - does the creation of thumbnails work there? The function in IImage Gallery is similar but in IImage Browser you can see all warnings etc.
ms$ 2004-12-09 / 11.34 am
Does it work with PHP safe mode on?
malyfred 2004-12-09 / 3.05 pm
It could work in safe mode, but it depends on your local configuration. It needs to have right to create files and that could be problem. Try it.
Blind Midget 2004-12-13 / 3.31 am
skriker thanks for the cool image plugins. I really like the image browser.
I am having trouble with the image gallery as you can see on my site http://www.blindmidget.com . I am not sure if I am doing things correctly, but I have the plugin uploaded and activated, and I used the gallery code in my post like your examples, but no gallery is showing up. Also there are no thumbnails being created. Any ideas? Thanks in advance.
(Here is the code I have in my post)
Signatures for Pronetworks members:
My Own Signatures on ProNetworks:
malyfred 2004-12-13 / 4.17 pm
Have you created thumb-cache directory? Is your PHP script allowed to write in this directory? The problem of this plugin is, that no warnings or errors are shown, but I cannot change this. Basically - if the IImage Browser creates thumbnails on your server - IImage Gallery should work (they use similar functions) and the problem must be somewhere else. Maybe collision with other plugin. Look into generated HTML code if there is “<div class=”gallery”>…</div>” - it means that plugin is working. If there is something else - collision of plugins!
malyfred 2004-12-13 / 4.44 pm
Another thing - you have to insert full path to images! Something like “http://blabla”. Relative path usually doesn’t work. I don’t use it in my example because it’s too long but I should.
Ingrid 2004-12-19 / 3.17 am
What a great plugin, thanks ! Works like a charm.
I have one little remark : the alt text doesn’t show up on the thumbnails. Is it because the title tag is set to empty ?
malyfred 2004-12-20 / 11.26 am
No, that’s because alt and title are defined separately. I have enhanced the first example - so it shows everything you need.
Ingrid 2004-12-21 / 3.32 pm
Ok, I can see I should be using the title tag instead, then it will show. Thanks for the explanation ! I really really like this plugin. Simple but effective.
Stefan 2004-12-29 / 6.28 pm
Nice little smooth plugin, thank you.
Is it possible to include somthing like target=”_blank” when clicking on a thumbnail?
malyfred 2004-12-30 / 8.46 pm
>Stefan Of course. Just edit
$before_each = ‘<a href=”%s” class=”gallery_item”>’;to something like this$before_each = ‘<a href=”%s” class=”gallery_item” target="_blank">’;Stefan 2005-01-01 / 10.39 am
Uups. Stupid me ;-). Thx.
Works perfect!
Alister Ferguson 2005-01-06 / 3.52 pm
that is SWEET! so much better than messy tables. thanks!
just one question - how did u space out the images in your above example?
malyfred 2005-01-06 / 4.19 pm
>Alister Add to your CSS file:
.gallery_item img{or justdisplay: inline;
margin-left: 3px;
margin-right: 3px;
margin-top: 6px;
}
.gallery_item {margin: 6px 3px 0px 3px;}or something similar.dan 2005-01-06 / 11.51 pm
Im having a bit of a problem with teh plugin. no thumbs are being created and the <gallery> tag doesnt seem to be getting processed, im ending up with it comming through in the posts any ideas ?
dan 2005-01-07 / 12.03 am
a bit of progress ! im getting the followingin the post, no thumbnails created, the thumb-cache directory is there and chmod 777 but it now seems to be processing the gallery tag…
malyfred 2005-01-07 / 10.50 am
>dan As I said before the problem of any plugin is, that you cannot see any warnings or errors. So I have to ask again - Have you tried IImage Browser? Does the thumbnail creatin work there? If not - the same problem is in IImage Gallery but you’ll get some warnings or errors and these could help. See previous comments. I’ll add some debuging functions in future version.
malyfred 2005-01-07 / 11.36 am
>dan&all I have created IImage Gallery 1.1 beta. It shows errors if any at the end of your post. Test it and let me know how it works.
Alister Ferguson 2005-01-07 / 6.36 pm
re. entry 15 - sorry mate, which CSS file? i’ve tried putting it in wp-admin.css & in wp-layout.css, but no luck. sorry, im new to this so im probably missing something really obvious..
malyfred 2005-01-07 / 11.27 pm
>Alister wp-layout.css - try the first example first:o) For more information and examples: http://www.w3schools.com/css/
Shambler 2005-01-08 / 1.26 am
I have a problem installing the plugin. I copied it into the plugins dir and activated it. But when I want to start writing a post I always get this error:
Fatal error: Cannot redeclare iimage_gallery_create_thumbs() in /home/shambler/www/wp-content/plugins/iimage-gallery.php on line 69
Any suggestions?
dan 2005-01-08 / 1.40 am
the plot thickens !
I installed the 1.1 beta and am not getting any errors in the post - just an empty gallery div…
so i installed IImage browser and that seems to work fine…
any other ideas ?
malyfred 2005-01-08 / 12.07 pm
>dan Actually it is good news. Let’s check syntax. Every single image should look like:
<img src="http:/..." />. You have to use quotes not apostrophes and no spaces between = and “. It’s better to have one image per one line.malyfred 2005-01-08 / 12.10 pm
>dan The code produced by IImage Browser is good enough.
malyfred 2005-01-08 / 12.16 pm
>Shambler It seems that some other plugin uses my function
iimage_gallery_create_thumbs()try to deactivate some other image plugins. If it were all right - you could rename this function and all callings of this function - I could help you.dan 2005-01-08 / 12.24 pm
Malyfred - thanks :-)
now i get this….
Errors: http://www.dantheman.co.uk/pictures/dizzycat.jpg is not accessible or supported
however if i copy the URL to the address bar in the browser the image gets downloaded ?
malyfred 2005-01-08 / 12.37 pm
>dan It means that PHP function getimagesize() cannot acces this file - discuss it with your admin.
Shambler 2005-01-08 / 1.26 pm
Well, actually there is no other plugin installed so far.
Alister Ferguson 2005-01-08 / 3.06 pm
thanks, i was putting the wp-layout.css file back in the wrong directory - thought it lived in wp-admin but it doesnt.. doh..
workin a treat now, cheers, thanks so much for responding to my silly questions…. starting to get a slight grip on how this all fits together at last :)
malyfred 2005-01-08 / 6.45 pm
>Shambler uhhh:o( what should I say… It means that WordPress is calling the same plugin twice and I don’t know how to fix this - have you tried to deactivate and activate it again?
Shambler 2005-01-10 / 12.20 am
Yup, I tried that. After deactivating and activating again I looked inside the table with phpmyadmin and discovered, that the plugin is loaded 5 times!?
malyfred 2005-01-10 / 1.23 am
>Shambler Wicked! Some WP bug… I cannot imagine how IIG can do that.
Shambler 2005-01-10 / 9.39 am
At the moment I’m using version 1.2.2 of WP. Will try to update to a newer version…
Shambler 2005-01-10 / 4.59 pm
Ok, with the latest nightly build it works! Strange though. But I still got another question: which path do i have to set with “img src=…”? Because my pictures reside in wordpress/wp-content/pics/*, but whenever I use the Gallery nothing is shown in Wordpress but the title.
Michael 2005-01-10 / 5.04 pm
Ok I’m being stupid here, once the plugin is activated do I simply insert a
tag and your plugin does the rest? Or do I have to put the whole script which is posted in the examples at the top of the page?
I believe that you are unable to have both Image gallery & browser plugins running at the same time, true?
Thanks
Michael 2005-01-10 / 5.07 pm
oops after …insert a… it should say ‘image’
i have trid this but didn’t work just displayed the original size! I have created a image-cache dir and thumbnails do work in image browser.
thanks
dantheman 2005-01-10 / 5.52 pm
malyfred - RE: getimagesize() not being able to access the file, ive checked double checked and triple checked all permissions and all files are chmod 777 - ive broached this with my admin and they said they files should be accessable and they have checked the permissions to. is ti likley to be anything other than permissions ?
Thanks
Dan
malyfred 2005-01-10 / 9.09 pm
>Shambler&Michael You should add to your post this:
<gallery><img src="http://fullpath/image_name.jpg" />
</gallery>
Then - when you save the post - thumbnails are created.
malyfred 2005-01-10 / 9.12 pm
>Michael#36 You can use IImage Browser & Gallery at the same time, there should not be problem.
Shambler 2005-01-10 / 9.22 pm
Ok, but let’s assume this: Wordpress is directly accessible through http://shambler.redtown.de.
When I do a:
<gallery>
<img src=”http://shambler.redtown.de/wp-content/warschau.jpg” />
</gallery>
it results in nothing…
malyfred 2005-01-10 / 9.38 pm
>dantheman#38 Actually if you use full path (”http://yourdomain/…”) you don’t need to change/check permissions because PHP will try to connect to that address as a browser. So I think that your admin maybe restricted this http access. You can try to use relative paths to avoid using http and check if thumbnails are created.
malyfred 2005-01-10 / 9.46 pm
>Shamble#41 if you want to write some tags here you must write it like this: <tag>
It results in nothing means what? Open the source code of the page if there is <div class=”gallery”>…</div> - plugin is working. Try beta version if it’ll produce some errors.
Shambler 2005-01-10 / 10.42 pm
What do you mean whith tags?
Well, yes, the
I tried the beta version, but it doesn’t show me errors…
Michael 2005-01-11 / 12.35 am
Thx malyfred.
Michael 2005-01-11 / 12.42 am
So basically if I knew how I code add a quick tag option to the java file in WP?
Michael 2005-01-11 / 10.43 am
I have now managed to add the <gallery></gallery> tag to the quick tag links in the post page.
Michael 2005-01-11 / 10.45 am
soz it should be <gallery> …hopefully it worked if not it should the gallery tags
Michael 2005-01-11 / 11.15 am
Sorry to say I’m now getting the same prob’s as Dan. I’me just going to get in touch with the host but I know for sure that i have full access & rights….I think we are certainly keeping you busy Malyfred..Thank you for your help.
Michael
Michael 2005-01-11 / 11.41 am
Just a thought I’m on a windows servers and I know chmod don’t play a part as that is a linux thing. Dan are you windows?
Ryan 2005-01-11 / 12.29 pm
Is this plug-in need GD? I got so many warnings.
Warning: imagecreatetruecolor(): requires GD 2.0 or later in iimage-gallery.php on line 275
Warning: imagejpeg(): supplied argument is not a valid Image resource in iimage-gallery.php on line 305
Warning: getimagesize: Unable to open ‘Tale.jpg’ for reading. in iimage-gallery.php on line 205
Warning: chmod failed: No such file or directory in iimage-gallery.php on line 324
Warning: Cannot add header information - headers already sent by (output started at iimage-gallery.php:275) in wp-admin/post.php on line 342
dantheman 2005-01-11 / 2.57 pm
malyfred - thanks again for all the help, i spoke to my admins about restrictions and they say this..
“allow_url_fopen is set to On on the servers, there should be no issues with using http protocols within a fopen command.”
is there anything else I can try ?
malyfred 2005-01-12 / 12.50 am
>Michael&dantheman I will prepare you some testing script to show your admins what exactly is the problem.
malyfred 2005-01-12 / 12.51 am
>ALL I go tomorrow to Berlin then Goteborg and on friday to Uppsala (for 6 months) - so I’ll be back on Saturday. Stay tuned boys:o)
malyfred 2005-01-12 / 12.53 am
>Ryan Yes you need GD library, there is no way how to do that without GD or something similar.
dantheman 2005-01-12 / 11.47 am
malyfred - thanks again for all your help, this is the smartest lookgin gallery ive seen for wordress and i REALY want to get it running…
and happy travels !
Michael 2005-01-12 / 11.54 am
Thanks Malyfred for all your help, have fun.
Alister Ferguson 2005-01-14 / 12.50 pm
hi,
is there a way to allow linking to images that exist somewhere other than my specified gallery folder? i tried, but wordpress just wont accept it at all - as soon as you put <gallery> tags around an off-site image, it wont even save it as a draft.
Marco 2005-01-15 / 3.25 am
i have some problems with thumbnail creation. I`m already using the beta version, but no error is reportet at all.
malyfred 2005-01-15 / 8.29 pm
>Marco As usual I have to ask if you have tried IImage Browser and if the thumnails are created there.
malyfred 2005-01-15 / 8.34 pm
>Michael&dantheman I am back! Download this file: Troublemaker rename it to .php and try to run it on your server. It should look like this: My own Troublemaker. If it shows anything else - contact your admin and show him the source code. It’s as simple as possible so he could understand what’s the problem.
malyfred 2005-01-15 / 9.11 pm
>Alister#59 Huhhh. That sounds strange - try to paste this code to your post and it should produce gallery with one image from my site - that’s definitely out of your gallery folder:o) (the trick is that you use full path):
<gallery><img src="http://fredfred.net/skriker/images
/fred/2004/plzen_nadrazi.jpg" />
</gallery>
If you were talking about something else - explain better your problem please.
Marco 2005-01-15 / 9.44 pm
Thumbnails in Image Browser don`t work. I`ve also tested toublemaker.php, and it`S working perfect. Same output as on your server.
malyfred 2005-01-15 / 11.42 pm
>Marco You have got me! Uhhhhh - that hurts! I don’t know how could I help you. It must be some GD library bug or some very strange configuration on your server or some very hidden error in my code that shows only to you:o(
Of course I suppose you have tried to check everything that have suggested to other people twice…
If you have some PHP experience look into IIG code and try to “debug” it a little. You can use $error variable for this purpose.
>ALL Troublemaker is for those who get “is not accessible or supported” error.
malyfred 2005-01-15 / 11.48 pm
>Marco&ALL Look into final xHTML code and look if there are <img> tags where they should be and they look like on this page. Then you know that syntax is OK.
Marco 2005-01-16 / 12.30 am
Shame on me :)
I`m using the CVS version of wordpress. The filtername has been chaged recently.
So I had to change the “add_filter” to this:
add_filter('content_save_pre', 'iimage_gallery_create_thumbs');
Image Gallery is working now.
Simon 2005-01-16 / 10.20 pm
Malyfred, first of all, thank you for those great scripts! But, I have some problems using the iimage-gallery on blog.simon-kuenzel.de. Only one picture works and produces a thumb in my thumbs-dir: the one that’s on your server! ;)
Several other pictures from several other servers i have access to don’t work. Any suggestions? What is the difference in your config that all those other servers don’t have?
Thanx again, in advance…
Simon 2005-01-16 / 10.34 pm
Forget comment no. 68: It’s working fine. Some browser-cache problems… Stupid me ;)
Hapax 2005-01-16 / 10.41 pm
I use Image Browser and all works perfect. I have upload Image Gallery, I have activate it, I have create thumb-cache directory, I have made a quicktag for easier way. It doesn’t work. I have look in source code and div tags are created. I have read all the comments here but I can’t find a solution. Is there someone to help me ? It doesn’t create the thumbnail, so it doesn’t appear and the thumb-cache stay empty… ???
malyfred 2005-01-16 / 11.19 pm
>Hapax If the “div tags are created” means that
<div class="gallery">is there but empty - check syntax of<img>. If it is not empty but thumb-cache is emtpy - try to download beta version - it should show you some errors produced during thumbs creation.Hapax 2005-01-17 / 3.03 am
>Malyfred I have installed the beta version but it makes the same. When I look my source page, I see : (div class=”gallery”)(/div) with nothing in it. When I go back in the admin backend, I see the code of images produce by Image Browser (whitch is a great thing !)… :
(img src=”http://www.mysite.com/site/voir/zozo.jpg” width=”700″ height=”409″ alt=”" title=”" /)
(img src=”http://www.mysite.com/site/voir/herve.jpg” width=”500″ height=”379″ alt=”" title=”" /)
I didn’t understand.
In Image Browser, the thumb-cache directory appears and I can upload images inside !… ???
The code of images disappear when I blog.
Hapax 2005-01-17 / 3.21 am
I have found something ! : if I paste my images codes one after another in the admin field, images don’t appear. BUT if I make a break (yes ! just a break) to put my images codes one UPPON another, it works !
It is strange and perhaps a good thing if you can correct this phenomenon. ;-)
malyfred 2005-01-17 / 4.47 pm
>Hapax Well it should not happend. It works for me without breaks - I’ll try to find what’s the problem. thanx anyway
dantheman 2005-01-19 / 12.15 pm
Same problem as marco#64 :-(
malyfred - what version of wordpress have you developed the gallery plugin using ?
dantheman 2005-01-19 / 12.52 pm
ok some progress, itseems to work fine if i use an image hosted on your server malyfred, i.e the trouble.php as is, however if i use an image hosted on my server then getimagesize() seems to get a 404 trying to open the stream, dispite the URL being correct and valid ??
ive passed it on to the admin team and will let you knwo there findings….
thanks again…
dantheman 2005-01-19 / 1.50 pm
finaly sorted !
the DNS server referenced by the webserver had an out of date entry for my domain and thus could not resolve the url of the image !
thanks for all your help malyfred
jeff 2005-01-23 / 8.49 am
All your plugin downloads seem to be off. Are you updating things? When will they be available for download again?
malyfred 2005-01-23 / 1.51 pm
>jeff Thanx. The problem is with my webhosting company. You can use mirror now!
Juan 2005-01-24 / 4.22 am
I am very interested in these plugins, they are EXACTLY was I was looking for, so thank you for all your work. I have installed the latest WordPress nightly (jan 23), and have added and activated both the IImage Gallery 1.1beta and IImage Browser 1.4.1 plugins… well, nothing is happening, as far as seeing an extra button on in the editing panel… what should I do? I am a total newbie… does these work with WP 1.5? Thank you.
malyfred 2005-01-24 / 4.46 am
>Juan These plugins are not tested under WP 1.5 but IImage Browser should work almost everywhere. They have changed names of “hooks” in WP 1.5 as says comment #66. I have updated IIG 1.1beta version - downlad it again please and let me know.
Juan 2005-01-25 / 3.37 am
Thank you MalyFred for the quick answer. I did as you suggested, re-downloaded and installed IIG 1.1beta, and changed the “hook” line to what was suggested in post #66. As soon as I activated the plugin, I got 4 error paragraphs referring to lines 7 through 10:
Warning: Cannot modify header information - headers already sent by (output started at /home/neoblog/public_html/wordpress/wp-content/plugins/iimage-gallery.php:1) in /home/neoblog/public_html/wordpress/wp-admin/admin.php on line 7
I also tried the gallery command within a post, but the thumb is not created in the thumb-cache directory I created in the wp-content folder.
Any help appreciated! Thanks.
malyfred 2005-01-25 / 4.17 pm
>Juan I am sorry but i cannot help you at the moment - maybe during weekend I will have enough time to test new WP 1.5… it seems that they are changing everything so fast!
Mads 2005-01-25 / 6.59 pm
I have both wordpress 1.2 and 1.2.2 running on my server, and it seems as though iimage-gallery doesn’t work on 1.2.2 - anybody else have trouble with 1.2.2 ? The problem seems to be that it doesn’t regonize the
tags when running in 1.2.2, so no thumbs are processed and when viewing the gallery it only posts the content of $ig_before
malyfred 2005-01-26 / 1.25 am
>Mads Somebody said that he had a problems when there were no breaks between <img> tags - try it, it should work without breaks too, but… Or it could be some collision of plugins.
hfcoma 2005-01-31 / 11.43 pm
Hey malyfred, it is running like a charme. However pictures are not being cropped. I do not receive any errors. I have not had the time to jump into the code to see if you catch missing libraries. However the thumbs are generated fine. Is this a normal behaviour?
malyfred 2005-01-31 / 11.51 pm
>hfcoma Cropping depends on parameter
crop=”true”. Or you can change default value iniimage-gallery.php. You don’t need any supporting library for cropping, just set the parameter.hfcoma 2005-02-01 / 1.52 am
>malyfred The following gallery tag is deployed:
<gallery crop=”true” crop_center=”true” max_side=”80″ quality=”40″>
Within a gallery there are pictures sized 640×480 and pictures sized 480×640. I would expect to have resulting tumbnails 80×80, where the 80×80 viewport is showing something from the middle of the pictures. However this is not the case.
malyfred 2005-02-01 / 2.50 am
>hfcoma You cannot paste the tags here directly, you should write something like this: >tag< to avoid removing of it. But try to change default value in
iimage-gallery.phpjust to check if cropping is working. Then check the syntax twice! No space between ‘crop’ and ‘=’ and ‘”‘malyfred 2005-02-01 / 11.29 am
>hvcoma You are right. It should be cropped… Try to change default value for cropping directly in the file, please.
hfcoma 2005-02-02 / 4.04 am
>malyfred Changing it within the file works - strange. I will give the code a look as soon as I am less stressed. Ever thought about adding navigation when an enlarged picture is shown? Should not be too hard to accomplish. In case I find some time I may write some code and submit it to you. Thanks for your help och helsa Göteborg från mig.
malyfred 2005-02-02 / 11.57 am
>hfcoma First bit of my ideas about navigation could be seen in
$before_each. But I haven’t found some nice and simple way how to handle this for big galleries.hfcoma 2005-02-02 / 4.46 pm
>malyfred
Well, what about a page template. Enlarged Picture in the middle and dynamic generated prev and next buttons when the page is opened. One may configure the number pattern e.g. <name>####.<suffix> which makes the calculation of prev and next link targets an easy task. The parsing of the pattern with a regular expression is not that hard either.
malyfred 2005-02-02 / 7.03 pm
>hfcoma I have replied by e-mail.
Michael 2005-02-03 / 4.14 pm
My apologies malyfred, only just got around to looking at the image gallery plugin, thanks for the troublemaker file, I’ve uploaded it and I get an error, something to do with the ‘getimagesize’. Anyway you have helped enough so far so I’m leaving this for my admin to sort out ;)
Thanks again for all your help
Michael
[hf]coma and his daily life 2005-02-04 / 4.52 am
TrackBack: [hf]coma and his daily life » IImageGallery, a nice plugin…
Jonathan 2005-02-22 / 3.33 pm
Hi Malyfred,
I am trying to decipher what everyone has said thus far and I am having a difficult time. So I am going to ask a few questions if you don’t mind.
1. I am trying to upload pictures and I am getting a message that the admin disabled this function. I don’t see a place in the code to change this.
2. How do I allow a user to navigate to a folder in the root?
malyfred 2005-02-22 / 3.46 pm
>Jonathan You are talking about IIB right? Please, try: IImage Browser post and comment #110
WO 2005-02-24 / 6.07 pm
Asi budu za debila, ale nepochopil jsem, jak vložit galerii do stránky. Když uzavřu obrázky mezi tagy gallery /gallery, tak tam dostanu jen odkazy. Když tam ty tagy nedám, dostanu samozřejmě plné obrázky.
WO 2005-02-24 / 6.46 pm
Krpa bude někde u $type = @getimagesize($file) protože dostávám Error: ….is not accessible or supported filetype. To bude něco na serveru, ale nevím co. Jiné galerie chodí, browser taky.
malyfred 2005-02-25 / 3.25 am
>WO správně, to je někde na serveru a ptal bych se svého admina jestli PHP náhodou nemá zakázanou komunikaci přes HTTP. Viz troublemaker.php výše.
WO 2005-02-25 / 1.33 pm
Trabl mejkr je bezva, ale z mého webu jak tvůj, tak můj obrázek vyjíždí včetně všech hlášek skvěle. Tudy cesta nevede. Takže nevím, zatím to dávám k ledu. Jinak díky, tvůj iimgbrowser mi chodí úplně dobře, jen nevím, jak si budu prohlížet 100 obrázků v plné velikosti…
xy77 2005-03-02 / 10.42 pm
Doesn’t work for me. I get all these >gallery<… stuff in webpage source. any ideas?
xy77 2005-03-02 / 10.43 pm
I mean <gallery> …
malyfred 2005-03-03 / 10.09 am
>xy77 I have lots of ideas but you have to specify what doesn’t work. Have you tried to read older comments? Have you got any error? Does it produce just empty
<dir class="gallery"></div>? etc.Steve 2005-03-07 / 10.41 am
Hey, thanks for badly needed plugins!
I noticed a bit of a problem when using your IImage Gallery and IImage Browser. When I stored my photos in a folder “http://some.place.com/file/folder with a space/“, Browser would not convert the ” ” (space) to a %20 (percent-20). I didn’t think this would be a problem, but thumbnails are not generated when these links are used with Gallery. It worked after I manually changed the space to %20.
Hope that helps!
Cheers.
malyfred 2005-03-07 / 1.59 pm
>Steve Thank you for your “bug report” - I’ll fix it in next version.
dws 2005-03-07 / 2.37 pm
very useful post! just setting up my new blog on wordpress.
will let you know how it works!!
sun 2005-03-08 / 11.42 am
porad nechapu proic mi to pise vse jsem udelat jak bylo popsano..
dekui za radu
Errors: mistnost1.jpg is not accessible or supported filetype.
malyfred 2005-03-08 / 12.50 pm
>sun Zkuste „Troublemakera” z komentare cislo 61. Pravdepodobne bude nekde drobny problem s konfiguraci vaseho serveru.
Ian's Blog - IImage Gallery 2005-03-19 / 7.14 am
Trackback: Ian’s Blog - IImage Gallery
IImage Browser | skriker 2005-03-21 / 5.32 am
[…] e function for thumbnail offered at the bottom of its own menu. Don’t forget to try IImage Gallery as well. Plugin for creating picture galleries in your posts. And IImage Pano […]
IImage Panorama | skriker 2005-03-21 / 5.52 am
[…] lugin for WordPress and I hope you will like IImage Panorama as much as IImage Browser and IImage Gallery which are used by hundreds and hundreds of WordPress fans. In the age of digi […]
sv blog - Blog Archive - This blog is made of 2005-03-21 / 9.18 pm
[…] nally, I’m using the plugins Iimage-Browser to upload pictures onto my webserver and Iimage-Gallery to generate the Galleries. Both plugins are developed by malyfred. My theme […]
Blogging Pro - Blogging Pro's Theme Gallery 2005-03-22 / 4.38 pm
[…] f 20 to make the page a little faster loading. The gallery uses a very cool plugin called IImage Gallery which at first was not going to work the way I needed but the author was kind […]
Mark 2005-03-24 / 4.52 pm
Image Browser works fine, but Image gallery has problem to create thumb. I am sure the authority of directory is ok, and the TroubleMaker test is ok too. It keeps saying “Errors: xxx.jpg is not accessible or supported filetype”.
Mark 2005-03-24 / 6.35 pm
Amazingly, it works. I have no idea what I did to make it work. Perhaps, changing directory permission again or add full URL path…
Thanks for the great plugin.
Dydric 2005-03-24 / 9.05 pm
hi, great script!
but is it possible to open the original pictures in a page-template. (or in a popup-screen)… (hope someone can help me?)
malyfred 2005-03-25 / 10.07 am
>Dydcric Pop-up should not be problem - custom page as well. Just use custom patterns. If you don’t know anything about PHP or javascript - let me know. I can post some examples.
Dydric 2005-03-25 / 11.04 am
Please send me some examples…. I’m not very known with javascript, and I am not an expert with php!
Dydric 2005-03-26 / 12.22 am
mail@dydric.com
Iimage Gallery Test Post: Seattle 2005-03-27 / 7.09 am
[…] led, the problem of What To Do With The Photoblog remains. This post is mostly to test out IImage Gallery - which could be a swell plugin. And I still have a few pictures laying aroun […]
Dydric 2005-03-29 / 6.32 pm
malyfred: I can post some examples. Can you please send me those examples so I can go further with IImage Gallery…. Thanks alot!!!
Zack Scott 2005-03-30 / 8.15 pm
I would be very interested in seeing the examples too. I’m trying to use your plugin to have a gallery similar to what I already have on my site.
IImage Gallery - custom patterns | skriker 2005-03-30 / 11.01 pm
Custom pattern examples for IImage Gallery.
Dydric 2005-03-31 / 11.17 am
thanks… this will help!!!
Polyglot | skriker 2005-03-31 / 8.17 pm
[…] orting of this plugin has no priority in my schedule. Some others have:o): IImage Browser, IImage Gallery, IImage Panorama Known bugs Under certain circumstances doesn’t work au […]
Xiao Lü 2005-04-02 / 2.46 am
Very nice plugin, I do thank you for it.
pdx 2005-04-02 / 9.04 pm
is it possible to add a border to the thumbnails? i’ve tried using but it didn’t work. $ig_each = ”;
also when i’ve created my first gallery it didn’t look anything like your example, but all the images were stuck together. is there a way to make spacing between the rows and colums equal?
malyfred 2005-04-02 / 9.34 pm
>pdx Both is possible by CSS - for more info about CSS visit: http://www.w3schools.com
pdx 2005-04-02 / 10.56 pm
i’m not so strong with css, especially integrating css into wordpress plugins :(
malyfred 2005-04-03 / 12.05 am
>pdx You can try comment #15 and following
pdx 2005-04-03 / 1.52 pm
thanks, malyfred. however, that css only works in opera and firefox, while ie still deisplays about 6 pixels between the columns of thumbnails, and about 2 or 3 between the rows, or in other words the distance is not equal
malyfred 2005-04-03 / 10.31 pm
>pdx That’s quite famous bug in IE boxing model… you can use some css tricks to fix that - use google.com
gh 2005-04-08 / 9.38 am
I tried to read all the posts here, another user seems to have similar problem but I cannot see a solution to it:
When I post, I get the following errors. I have already created the “thumn-cache” folder.
Warning: imagecreatetruecolor(): requires GD 2.0 or later in
malyfred 2005-04-08 / 11.05 am
>gh Bad news is that this problem has no solution without admin’s help. Your webhosting doesn’t support GD (graphic) library 2.0 in PHP. Ask your administrator about that.
Noémio Ramos 2005-04-14 / 12.47 am
how to pass the real dimension to the popup?
malyfred 2005-04-14 / 2.04 am
>Noémio Ramos (I’ve edited your comment) As you seem to be quite familiar with PHP I can give you this easy advice:
Add something like this to line 171:
$ig_patterns[4] = '/\%width/i';and then something like this to line 194/195:
$size = getimagesize($src);
$ig_replacement = array(0 => $matches[$i][1], 1=>$alt, 2=>$title, 3=>$src, 4=>$size[0]);
For height do the similar thing.
Noémio Ramos 2005-04-15 / 12.12 am
Ok, I ‘m using
getimagesize( $matches[$i][1]) not $src =(thumbnail)
and in the javascript
x = parseInt( width) + 50;
y = parseInt( height) + 120;
Thanks
Alex 2005-04-15 / 4.30 am
Relative references to the images doesn’t work because the scripts execute in the wp-admin directory. I store my images in the wp-content directory, so I modified the script like this:
In function iimage_gallery_create_thumbnail, at the file line, I added:
$file = ‘../wp-content/’ . $file;
Ok, so its a hack but it works.
honza 2005-04-15 / 11.52 am
ahoj prosimte muzes mi jako laikovi popsat, jak se instaluje ta “image-galerie”???
diky honza
hentaidan 2005-04-17 / 1.46 pm
> Alex you are a genius, thanks.
Clark 2005-04-17 / 9.28 pm
I am trying to use Iimage Gallery (IIG) to insert images into my WP1.5 posts. I have the plugin working and have great results. Props to all involved for a great plugin.
I, of course, am not quite satisfied. My main gallery that runs all immages on my blog is Simple PHP Gallery (SPG). I love it, but also want to use the quick and simple IIG in posts. Is there a way to call the base image in the <<>gallery<t>> tag, have it display the created thumbnail, but link somewhere else than the base image? I tried to include the desired SPG link like so:
I also tried to use the target idea:
Neither seem to work. Any help would be greatly appreciated!
Bud Wiser 2005-04-19 / 5.50 pm
Hello, I installed olug in, activated it, but can not find it any where, I do I call it up to start using it. I can’t find any new buttons of links any where. Thx
malyfred 2005-04-20 / 12.31 am
>honza Staci aktivovat plugin a pak do prispevku napsat neco jako je uvedeno v clanku. Galerie se sama vytvori.
malyfred 2005-04-20 / 12.36 am
>Bud Wiser Just try to write something like examples in this post (
<gallery>...</gallery>) and you will probably see the result. There is no button or link or anything… it works automatically.malyfred 2005-04-20 / 12.46 am
>Clark&all look at: Custom pattern examples for IImage Gallery
Silverboy 2005-05-04 / 3.01 am
Hi. I have the plugin installed but when i write the script, no thumbs are created. The outline of where the thumbs will go is there and they are clickable and you get sent to the full size image…….just no thumb. What am i doing wrong? Thanks alot.
Silverboy 2005-05-04 / 3.07 am
Hi me again…. I forgot to mention that i get the following error:
Error: http://www.seattleorbust.com/wp-content/thefrog.jpg is not accessible or supported
Nick 2005-05-08 / 8.00 pm
I installed the plugin properly, but have since discovered that my web host has closed the fopen_url functionality due to it being a security concern of theirs. they do, support the curl library. do you have any plans on upgrading iimage gallery? or are we left to our own devices in trying to edit the plugin ourselves? TIA
waphle 2005-05-08 / 8.30 pm
hi - great plugin, but I’ve got the same problem as Silverboy. I keep getting the error that says
http://www.waphle.com/images/seattle/loveshoes.jpg is not accessible or supported filetype
what’s wrong?
malyfred 2005-05-08 / 8.58 pm
>waphle Try comment #61
Christopher 2005-05-08 / 9.45 pm
Having the same problem as Silverboy also- looking around the web for info ALOT of people are having this problem. IG creates a “black box” where the thumbnail should be but does not draw the thumbnail- when you click the empty box you then get the full size image. Cant understand it- please help!
waphle 2005-05-09 / 2.05 am
Troublemaker tells me:
“http://fredfred.net/skriker/images/fred/2004/
plzen_nadrazi.jpg is not accessible or supported filetype.”
but shows me the image underneath.
Tom Baker 2005-05-09 / 8.00 am
I downloaded iimage-gallery.php into my /public_html/wp-content/plugins folder and activated the plugin just like I did with image-browser. Nothing shows up, image-browser had a button IImage-Browser but I see nothing in my post screens for IImage-Gallery, how do I bring it up? I know this is a newbie question but I am only on my second day with WP. I am rehosting from my Typepad Blog at http://www.warmrain.typepad.com
malyfred 2005-05-09 / 8.48 am
>Tom Baker That’s fine. There is no button for IIG or whatever! Just write the post and use the code similar to one of the examples.
malyfred 2005-05-09 / 8.50 am
>waphle Well, have you read Comment #61 properly? Ask your admin! You are probably not allowed to use some of PHP functions on your server and I cannot change that.
malyfred 2005-05-09 / 9.00 am
>Christopher Look into the code of the final WP page what does the code for thumbnails look like - then you probably realise what’s wrong. Also check through ftp if there are some thumbnails in the thumbnail directory. Otherwise you should get some error messages.
Kopyto 2005-05-09 / 3.04 pm
Cau Frede,
taky sem mel problemy s pluginem a vytvarenim nahledu (adresare byly 777, troublemaker.php fachal stejne jako na tvem serveru, ale furt nic; jen hlasky typu Errors: XXXX is not accessible or supported).
Mno a tak sem se v tom zacal babrat a na radku 82, kde je:
$ig_real_path = get_settings(’fileupload_realpath’).$ig_cache_dir;
jsem na tvrdo dal cestu na mem hostingu, tj. neco jako:
$ig_real_path = ‘/DISK2/WWW/
domena.pripona/www/obrazky’.$ig_cache_dir;
Proste sem si nechal vypsat phpinfo(), mrkl se na _SERVER[”SCRIPT_FILENAME”] a podle toho upravil cestu.
A hotovka :)
PS: Jo jeste mam pocit, ze kdysi se mi v phpku nedarilo pracovat s GD knihovnou s prilis velkymi obrazky, treba tak okolo 2MB. Kdyz jsem je zmensil cca na pulku, tak uz sem byl schopen thumbnail vytvorit.
Toz tak. Snad to pomuze aspon nekomu
malyfred 2005-05-09 / 7.13 pm
>Kopyto Tu cestu lze meni v administraci a vetsinou ji WP sam spravne nastavi, takze to by nemel byt problem, ale ty prilis velke obrazky bych mozna mel zminit, protoze uz jsem se s tim taky setkal. diky
warmrain 2005-05-09 / 9.36 pm
I insert the following code generated from IImage-Browser to bring up a single image from the iimage_files directory. What would be the code look like if I wanted to display all the images in IImage-Browser?
warmrain 2005-05-09 / 9.40 pm
Woops, looks like the code for my previous post is missing, here it is.
|
malyfred 2005-05-10 / 12.46 am
>warmrain Whatever your code was… IIG doesn’t support anything like make-gallery-from-directory at the moment so you have to insert the
<img />for every single image that you want to have in your gallery. Is it what you wanted to know?David 2005-05-13 / 5.50 am
I’ve been trying to get this excellent sounding (and looking) plugin working for the last 5 hours, without success. I’ve tried all the stuff in the above posts, and what I’m getting at the moment is different from all of them. Ready for this?
- I get thumbnails.
- When I enter just the src=”…img.jpg” stuff, I get nothing.
- When I enter it with alt=”whatever”, I get links that go to the picture with the text I put in for the alt tag.
I’m running all this off my personal computer, running the latest version of apache2triad (which includes apacheHTML, PHP and mySQL). I’m pretty sure I have that GD library, and I’ve got all access wide open. I’m trying to view it in both Opera and Firefox (IE = suxxors).
Any suggestions?
TIA,
David
David 2005-05-13 / 5.54 am
Oh, and my directory structure is a little wierd too… it goes C:\apache2triad\htdocs\blog\wp-content\ with stuff in htdocs being visible to the public. I know this is messing up IIB for me, because the image src’s are all missing the “blog” part in their addresses.
alex 2005-05-13 / 9.50 am
How do I change the function that sets the directory. All the images are in their correct directories… iimagebrowers creates something likes this: /wp-content/images-content/mai/100_0033.JPG all that’s missing is a dot to move one directory up. Manually edited –> ./wp-content/images-content/mai/100_0033.JPG it works perfectly.
What function do I have to edit?
malyfred 2005-05-13 / 10.44 am
>David So - you get thumbnails in the thumb directory but the path in the final code is probably not correct and you don’t see them?
Check if “URI of this directory” in admin area > options > miscellaneous is FULL and correct.
Definitely working hack is to edit line #154:
$abs_path = get_settings('fileupload_url').$ig_cache_dir;and write there URL of your thumbnail directory manually.
malyfred 2005-05-13 / 10.51 am
>alex You are talking about IIB, right? You have to use fullpaths or add the missing dot to your custom pattern or edit line #73 and add it there.
David 2005-05-13 / 5.42 pm
SWEET! It works now!! It was the “Check if “URI of this directory” in admin area > options > miscellaneous is FULL and correct” suggestion that did it for me.
Thanks a ton!
The Examined Life | Blog Archive 2005-05-14 / 6.22 pm
[…] l size images. For other wordpress users the two plugins I am using are IImage Browser and IImage Gallery.
This entry was noted in the early morning on Sat […]
station 2005-05-21 / 6.54 pm
Hello Malyfred, Thanx alot for your plugins, great work!
I unfortunately have yet to get Iimage gallery working. When using your Troublemaker file all works perfect. I’ve also used the image from your server in a gallery which also works. The thumb is created in thumb-cache. My question, when I did the gallery with the image from your server, I assume that the thumb creation is done on my server. This would tell me that all is well with my setup. Is it possible that the GD has problems with jpg images made on a mac? My images are not progresive, should they be?
I would be happy to solve this mystery. Also I have a suggestion: I think it would be a great function to have a quick tag which poped up a window where you could define the gallery options, and select the images to be added. I guess this would involve joining Iimage browser with Iimage gallery.
Thanx again for the plugins and any assistance or suggestions.
malyfred 2005-05-21 / 9.20 pm
>station I’ve experienced problems with png files created by Gimp so it could be possible reason. What kind of error message do you get? Do you use full paths to the images? Could you send me a link to one problematic image?
Eric 2005-05-22 / 11.31 am
malyfred,
Like many people, I have had the same problem to see the thumb-nails because my “URI of this directory” was wrong.
I believe that many people could not even see blank thumb-nail boxes if they are using Firefox, and therefore it is not easy to figure out what went wrong.
I noticed my error only after I switched to IE and saw blank boxes (with an [X] in the middle of each box) instead of thumb-nails. Seeing the ugly blank boxes help me to understand that the addresses of the thumb-nails must be wrong. I then right-clicked on one of the blank boxes and checked the properties. And, it does show an incorrect address, which leads me to fix the “URI of this directory”.
It is a very simple fix. However, it took many people much time to figure out what went wrong. Therefore, I would like to suggest putting a note about this issue on the Installation section.
Thanks for the great plugin!!
malyfred 2005-05-22 / 12.23 pm
>Eric I feel a bit stupid that I have not added this there earlier:o)
Training Today’s Athlete » WordPress Plugins 2005-05-23 / 5.06 am
[…] kriker/index.php/iimage-browser IImage Gallery as the simplest gallery for WP that I know. fredfred.net/skrike […]
JÄÅ Preview | skriker 2005-05-23 / 4.57 pm
[…] lugins directory and activate it. P. S. You should also try these plugins: IImage Browser, IImage Gallery, Polyglot, IImage Panorama BTW do you know how to pronounce JÄÅ? No? Ok - j […]
apan » Blog Archive » Galleri 2005-05-25 / 3.04 pm
[…] plugin, plugin 2, plugin3 ( exempel), Slideshows iimage-gallery Lazy Gallery Exempel 1, 2, 3 (Snyggt tema också! […]
Kizza 2005-05-26 / 5.13 pm
I am having the same issue as Alister was. I want to insert this into my wp-layout.css apparently:
.gallery_item img{display: inline;
margin-left: 3px;
margin-right: 3px;
margin-top: 6px;
}
But where is the wp-layout.css?
malyfred 2005-05-27 / 12.23 am
>Kizza Since WP is using themes - you have to add it to the
style.cssin your theme.apan » Blog Archive » Galleri 2005-05-30 / 2.33 pm
[…] y2.php”>exempel 1, exempel 2
Flickr: plugin, plugin 2, plugin3 (exempel), Slideshows
iimage-gallery
Lazy Gallery: Exempel 1, 2, 3 (Snyggt tema också!)
Wikiartikel om ämnet
[…]
Denis de Bernardy 2005-06-03 / 2.31 am
I’m getting a couple of errors with beta-2.
in iimage_gallery_create_thumbnail(), adding the line:
$file = ABSPATH.$file;
solved a couple of them.
the other was due to my changing:
$ig_cache_dir = ‘/thumb-cache/’;
to:
$ig_cache_dir = ‘/wp-content/thumb-cache/’;
you might want to change the comment:
//relative to your upload directory
to:
//relative to your wp-content directory
malyfred 2005-06-03 / 10.26 am
>Denis de Bernardy - I guess you had these problems just because you are not using full paths in
administration> options> miscellaneousor they are not set properly. ReadInstallationcarefully.oscar 2005-06-07 / 8.50 pm
Hi, Help me please..
I have the following error
Errors: http://www.desdeguate.com/blog/wp-content/blog/macONintel.jpg is not accessible or supported filetype.http://www.desdeguate.com/blog/wp-content/blog/survivor_guatemala.jpg is not accessible or supported filetype.
Help me, I think this would be an amazing gallery!!!
Sorry for my short and bad english..
malyfred 2005-06-08 / 11.30 am
>oscar try comment #61
tash 2005-06-10 / 4.51 am
HELP PLZ!!!
I really need help with this one. I am not an expert, infact I am just learning, so bear with me.
I have downloaded and activated the plugin and followed everything in the readme files and on your website.
I have uploaded the images and I have created a folder “thumb-cache” and I have even set the permissions to this folder to chmod 777 but it just wont create thumbnails for the images no matter what I do. It just displays a small box with a red cross on it and if I click on it, it displays the image on the same window.
What am I doing wrong here?
tash 2005-06-10 / 4.55 am
Sorry, I forgot to mention that it gives me the error
Errors: Filetype not supported. Thumbnail not created.
The files are in jpeg and jpg format
malyfred 2005-06-12 / 10.11 pm
>tash It seems that you are not allowed to use GD2 library on your webhosting. That is library of graphic functions that are necessary for this plugin. This library is widely supported almost everywhere - ask your administrator about that.
IImage Gallery 1.3 | skriker 2005-06-14 / 11.35 am
[…]
skriker
IImage Gallery 1.3
author - m […]
JT 2005-06-14 / 5.12 pm
I can’t see anything. I put it in the plugins folder, and activated it..and I can’t see anything diifferent. where do I go to create the gallery? Do I have to insert the code above? Sorry, I’m a noob…didn’t know that did you?
thx, JT
malyfred 2005-06-17 / 12.29 am
>JT - You cannot see anything:) Write a new post with some cool jokes and add there something like:
<gallery><img src="http://path/to/image" />
<img src="http://path/to/image" />
</gallery>
You’ll see miracle then…
Garry 2005-06-21 / 3.13 am
I’ve noticed quite a few comments citing error messages like “filetype not supported” or “thumbnails not created”. One quick fix is to check your php.ini file and make sure the extension module for gd2 is uncommented. It is turned-off by default. You WILL get the file type not supported, and thumbnails not created, errors if the gd2 module is not “turned-on”.
Hope that helps someone.
marek 2005-06-21 / 3.48 pm
I want to turn http://futureface.org into WP, which been testing and really like. However, I want the startpage to be similar to the above url, that is a grid of images 8 pictures wide by Y pictures high, with a new row of images appearing every time there is a meeting. I cant figure out how to do this without there being a space between each row for each new post of 8 images. (each meeting’s topic will have its own page, so people can comment there, and each image will open up a single page, with comments etc at the bottom).
Thanks for any pointers.
malyfred 2005-06-23 / 10.27 am
>marek I think this is more question of CSS. That allows you to design it exactly as you need - no spaces etc. What you need to change in IIG are just custom code patterns.
greengrrl 2005-06-25 / 2.02 am
well i downloaded and installed your plugin — it seems to be generating the code for the thumbnails but i get the error “thumbnail path invalid”. i’ve double and triple checked and the code seems to be pointing to where it should be. and i made sure the thumb-cache file is set to chmod 777. what am i missing here?
malyfred 2005-06-25 / 2.17 am
>greengrrl Check if the “admin> options> miscellanous> Destination directory” is set properly and WITHOUT closing slash. Also check if
ig_cache_diris set as it is supposed to be iniimage-gallery.php. Both slashes in this case. This error actually says that directory for thumbnails doesn’t exist.greengrrl 2005-06-25 / 2.35 am
it was an error in my destination directory — looks great, thanks so much!
midshipman.org » 2005-06-25 / 8.41 pm
[…] for($i=1;$i< =$ig_images_count;$i++){ echo $ig_gallery[’thumb’][$i]; } } ?> Powered by IImage Gallery
No comments yet. Be the […]
Verbie 2005-06-27 / 10.13 am
Thanks for the nice lil plugin. I had a few flaming barrels roll my way, but by reading through the previous comments I solved those problems.
DisappearingBoy 2005-06-29 / 7.14 am
Diky Kamo !
Plugin pracuje perfectne. Zatim jsem to pouzil jenom na ‘test posts’ (driv jsem pridaval fotky k posts manually, a tvoril thumbnails v paintshop), ale v budoucnosti rozhodne necham tu drinu tvimu plugin.
Ciao
Petr M
Katina » WP 2005-07-01 / 5.46 am
[…] 주셔도 감사하겠습니다. 다시 도전해 보게요. 현재 염두에 두고 있는 것은 http://fredfred.net/skriker/index.php/iimage-gallery 요것인데…설명을 봐도…뭔 소린지…orz…그냥 따라하기 식� […]
Hapax 2005-07-02 / 3.57 am
Still trying to make the plugin works. I have the same problem than some months ago : whithout breaks in code, I have no thumbnail. But it’s not heavy ;-). My problem today is that you you click on a image, it makes a 404. So first, where must I put the image-gallery-template.php file ??? Perhaps it’s my bug. I have put it in the plugin folder… Thankx in advance… I’m tired… I go to bed… good night to everyone (Bonne nuit les petits ! signé : nounours).
malyfred 2005-07-02 / 10.48 am
>Hapax 1)
image-gallery-template.phpis supposed to be in plugin directory - that’s ok.2) Check TWICE if “URI of this directory” in administration> options> miscellaneous is FULL address like: http://domain/blblabla
Hapax 2005-07-02 / 12.31 pm
I have already done that. All is checked. When I click on an image of the thumbnail, it goes at this adress : http://www.mysite.com/wp-content/plugins/iimage-gallery.php?idpost=30&idg=1&idi=2 and it is a 404 because the path miss a folder (and I don’t know why. How can I help you to help me ? :-x IImagebrowser works like a charme…
Hapax 2005-07-02 / 12.38 pm
An idea : Is it works whith pages in W1.5 ? I only use pages and not articles.
malyfred 2005-07-02 / 1.32 pm
>Hapax You can set the proper path manually
$ig_settings['path_to_plugin']iniimage-gallery.php.Hapax 2005-07-02 / 1.43 pm
Thankx for your guidance. I have change the path in the plugin (but it is wired because the good path is in the miscallenous options). I obtain the gallery but with nithing inside and this sentence : “There is no gallery in this post.”. But it isn’t a post, it’s a page, and there is images… “Patience et longueur de temps font plus que force ni que rage.”…
Hapax 2005-07-02 / 1.50 pm
I put nothing in alt and title in the tag image. Perhaps it’s why I need breaks in code to make thumnail appears ? I suppose everything whitout knowing.
malyfred 2005-07-02 / 6.52 pm
>Hapax I’ve fixed the bug about static pages - download the latest version again.
Hapax 2005-07-02 / 8.29 pm
Great ! It works now. But I must always change the path directly inside the plugin. Is it a bug too ? Thankx anyway !
Hapax 2005-07-02 / 8.44 pm
Sorry, it’s my fault : My blog homepage is different than the directory I installed WordPress. So I put this URI in options and the plugin fails. Perhaps you should change something in the plugin to make it appeal in options the URI of Wordpress instead the URI of the blog ! It will make the same and whitout bug when there is a difference between the 2 URI. No ? :-)
malyfred 2005-07-03 / 12.46 am
>Hapax That is a good idea, but I would like to keep compatibility with WP 1.2 as long as possible and this feature is available only in WP 1.5:(
But you can change it manually - use “wpurl” instead of “url” in
get_bloginfo()function.Hapax 2005-07-04 / 12.18 am
I understand. Another question, about custom pattern : I have read the post dedicated to them but I want something else. I would like to have the thumbnail, when you click on an image it opens a popup resized to the image size AND WHITH the previous and next links of iimagegallery ! (AND WHITHOUT the thumbnail of the plugin, whitch is simple to desactivate in the code). So after, you will be able to click once and to navigate through the full images in the popup, the thumbnail behind. Do you think it is possible ? I haven’t found how to make this. I have everything but the next and previous links.
malyfred 2005-07-04 / 8.11 pm
>Hapax It’s easy - you have custom patterns for browser version as well:
ig_before_each_stand_aloneetc. Just use some of the recommended patterns there.StBlaiz 2005-07-05 / 10.00 am
I have installed and created a gallery, which I can see on the index and post page just fine. But when I click on the thumbs, I get to a page with the style from image-gallery-template.php, but no images, just a message “There is no gallery in this post.”
The address for this page is
http://www.mydomain.com/my_wordpress_dir/wp-content/plugins/iimage-gallery.php?idpost=55&idg=1&idi=4
My upload setting (”URI of this directory”) is
http://www.mydomain.com/my_wordpress_dir/wp-content/images
and I have “gallery/thumb-cache/” for the ig_cache_dir, and both are set to 777
I have the photos for this gallery in wp-content/images, so I have used the full address in the post’s img tags
I’ve read all the comments here, and tried everything I could think of. Nothing works — most made it worse. What is wrong? Please help me out. Thanks. I love the plugin otherwise!
malyfred 2005-07-05 / 8.07 pm
>StBlaiz Do you use Polyglot plugin? This error means that stand-alone browser doesn’t get the content of the post with tags
<gallery>...</gallery>inside.That could be result of collision with some other plugin. Try to delete line 486:
$ig_text = apply_filters('the_content', $ig_post->post_content);and try if it works.
StBlaiz 2005-07-05 / 9.06 pm
Re: 214
That had no effect. No, I don’t have Polyglot. But I do have several other plugins. I’ll deactivate them one by one and see what happens. If you have any other ideas, I’m open to them.
malyfred 2005-07-05 / 9.54 pm
>StBlaiz If you know a bit about PHP - try to print out the
$ig_textand check if the gallery tags are there.Hapax 2005-07-06 / 3.06 am
Outch ! code is interpreted.
“…
by this :
$ig_settings[’ig_before_each’] = ‘(a href=”%src” onClick=”JavaScript:window.open(’%src’, ‘%title’, ’scrollbars=yes’); return false” class=”gallery_item” target=”_blank”)’;
…”
malyfred 2005-07-06 / 6.43 pm
>Hapax as I said - ig_before_each_stand_alone is what you need:
$ig_settings[’ig_before_each_stand_alone’] = ‘(a href=”%sasrc” onClick=”JavaScript:window.open(\’%sasrc\’, \’%title\’, \’scrollbars=yes\’); return false” class=”gallery_item” target=”_blank”)’;fox 2005-07-06 / 10.46 pm
I installed the plug in and works fine. Great plug-in!
I’ve got a slight problem: the gallery is not appearing when I visit the Archives, I’m getting “…” instead of the gallery. Is there a way to fix that?
LHK 2005-07-07 / 3.45 am
Hi,
I have the same problem as St.Blaize and Hapax, where I place the gallery in the post I see the gallery with thumbnails. When I click on a thumbnail I get “There is no gallery in this post” if I have the standalone set to true. If I set it to false I get the picture called in the same window.
I would like to be able to use the standalone, as I dislike people having to constantly click the backlink to check for other pictures and I hate to install a popup.
I’m running - apart from the gallery (version 1.3) - Adhesive, Countdown and the EventCalendar.
Any ideas?
And no, I’m no PHP wizard ;-)
LHK 2005-07-07 / 12.49 pm
Hi again,
VERY curious thing - after I uploaded version 1.4 everything worked as it should!
malyfred 2005-07-08 / 6.29 pm
>fox Could you open the source of that page and tell me what exactly is there instead of gallery?
fox 2005-07-09 / 12.24 am
malyfred, it turned out to be an issue related with Wordpress only displaying the summary of an article instead of the full text. I got it fixed.
John Foulds 2005-07-12 / 6.35 am
I have installed the script and everything is working fine. However I tried without success to follow your instructions in comment #137 to extract the height and width of the large image. I’m using the latest beta: would it be possible for you to lay out the instructions for a relative php dummy to follow?
TIA
Marek 2005-07-12 / 2.01 pm
Tak jsem to nainstaloval dal jsem par veci do galerie a jde to. Ale nefunguje mi ten zabudovany prohlizec ? Da mi to chybu “There is no gallery in this post” Nebo musim snad nainstalovat jeste externi prohlizec.
Jo da se to hackovat tak aby se nemusel davat porad full path na kazdy obrazek.
.sit 2005-07-12 / 5.27 pm
I have problems on my local testing server.
When I upload the images, it gives me an error about creating thumbnail “file not supported”. I used *.jpg and *.jpeg files coming out from Photoshop. The result is that when I try to create the gallery it does not work! :-(
marek 2005-07-12 / 9.59 pm
Takze jsem nainstaloval 1.4 beta verzi a prohlizec funguje, takze zazrak je tam.
Cao :-)
Roberlan Borges 2005-07-14 / 3.40 pm
I installed the plugin, after some adjustments on the file path, aparently, works. But with a little problem: dont´show de image, instead of the images, only show the “alt” text. What i doing wrong?
Kizza 2005-07-15 / 7.54 am
I just upgraded to 1.3
My old posts using the gallery are working fine, but new posts don’t make thumbnails. I checked in the directory and there’s no thumbs and there’s nothing between the div=gallery tags on the page when I view the post.
There’s no error messages either, it’s set to display ‘em.
Any thoughts?
Kizza 2005-07-15 / 8.12 am
Just tried 1.4 beta, same results.
Kizza 2005-07-15 / 8.46 am
Shit! I just went back to 1.1 and it’s not doing anything either. wtf?
No errors, no thumbs, haven’t changed anything since when it was last working. :(
Kizza 2005-07-15 / 9.37 am
Sorry for all the posts.
I managed to find a copy of v1.2
It works!
Kizza 2005-07-15 / 10.08 am
I’m cursing my head off.
EVERY version now works, if I use DOUBLE QUOTES, instead of SINGLE quotes. I usually write double, sometimes single, the IMG button makes ‘em double, but the tag that UPLOAD gives you is single quoatation marks.
I hate when it’s something so simple.
LHK 2005-07-16 / 10.38 am
Hi again,
is there a means to insert (in the standalone gallery page) a link back to the page from which this standalone gallery was called?
With single photogallery pages I can provide backlinks by name below the standalone gallery. But if I call the standalone gallery from a variety of posts and pages, this list is bound to become very long and each time I need to edit the source code of the standalone template.
I’d prefer an automated method.
Madarco 2005-07-16 / 4.20 pm
There is a strange conflict with “Show/Hide More” plugin:
If someone only need the Show/Hide Comments like me, its possible to make it work adding the show/hide javascript (you can find it after ) directly in the template and deactivate the show/hide plugin.
Hope will help.
Montie 2005-07-20 / 2.52 pm
Hello Malyfred!
I was wondering if you could help me out a bit … I have made a plugin called LMB^Box Smileys. Lately Markus was having problems with it and asked me to take a look. I found what was the problem! In fact it has nothing to do with LMB^Box Smileys, it has to do with your IImage Gallery. Markus was using both IImage Browser and IIMage Gallery.
What’s happening:
Your IImage Gallery parses the post’s text to find the tag and the images to go with it. The problem is that you don’t restore the white space in the text (single spaces). My Smileys plugin depends on these spaces! I have already found a fix for the problem, but it could be refind to be clearner. Here it is:
207 else {$line .="\n";}
change to:
else {$line .=" \n";}
215 $text = implode("",$lineout);
change to:
$text = implode(" ",$lineout);
I was wondering if you would constider including this in IImage Gallery from now on. Also if you would take a look at the changes to see if there is a better way. You can email me if you would like … tmontague AT lmbbox DOT com. Thanks,
Montie
Netlex News » Blog Archive » Test 2005-07-22 / 12.25 pm
[…] >
Test For testing IImage Gallery WordPress plugin : IImage Gallery […]
oliver-emmler.de » Image Gallery 2005-07-23 / 6.38 pm
[…] dafür aber auch ca. 25 EUR/Monat. Für hin und wieder mal ein Bild auf der Seite ist die Image Gallery von Skriker. Leider funktioniert die relative Verlinkung nicht - irgendwoher k […]
Julio Nobrega 2005-07-23 / 6.55 pm
troublemaker.php showed me that getimagesize() was failing. Opening files/images on my server is forbidden. The gallery script use this function on line 255. If, when editing my post, I changed the src=”" value to point to the absolute path to the image:
src=”http://www.inerciasensorial.com.br/wp-content/thumb-cache/coh/Kronos%20Class%20Titan.jpg”
src=”/abs/path/wp-content/thumb-cache/coh/Kronos%20Class%20Titan.jpg”
Everything was ok. A little hack, which probably only works with the Apache webserver, did the trick for me. Before line @getimagesize() on line 255 add this:
$file = str_replace(array(”http://” . $_SERVER[”SERVER_NAME”] . “/”, “%20″), array($_SERVER[”DOCUMENT_ROOT”], ” “), $file);
Basically is replaces the domain name with the absolute path, and URI spaces (%20) on the file name with “real spaces”.
If the above doesn’t work, try something like:
$file = str_replace(array(”http://www.yourdomain.com/”, “%20″), array(”/abs/path”, ” “), $file);
WP 1.5, Image Gallery 1.3
Cottonijoe.de » Blog Archive » …und nun zu den Plugins. 2005-07-26 / 12.42 am
[…] the post. Das Ding ist unumgänglich wenn man öfter mal Bildchen im Blog haben will. IImage Gallery This plugin for WordPress should help you to add simple but nice gallerie […]
malex.org notes » Foto Venezia 2005-07-26 / 12.57 pm
[…] malex @ Giovedì 3 Marzo 2005, 12:11 Questa è una prova del plugin iimage gallery per WordPress. […]
malyfred 2005-07-26 / 5.31 pm
>LHK Search on the web for
javascript:history.back()malyfred 2005-07-26 / 5.44 pm
>Montie Hi! This fix didn’t hurt so much:) so I have added it to the version 1.4.
Do..Re..Me.. » 試一試個新wp plugin 2005-07-28 / 6.38 pm
[…] age-gallery.php?idpost=134&idg=1&idi=2″ class=”gallery_item”> 參考網站: 1. http://fredfred.net/skriker/index.php/iimage-gallery Permalink […]
Djuki 2005-07-30 / 4.13 pm
I do everything like u said.
I have … code im my html
I chimode dir thumb-cach on 777
after post in thumb-cach their is nothing.
when i open:
http://djuki.padrino.co.yu/blog/wp-content/plugins/iimage-gallery.php?idpost=18&idg=1&idi=1
i have error:
Fatal error: Call to undefined function: get_bloginfo() in /home/djuki/public_html/djuki/blog/wp-content/plugins/iimage-gallery.php on line 86
Do u have any idea ?
Djuki 2005-07-30 / 4.29 pm
when i open
http://djuki.padrino.co.yu/blog/wp-content/plugins/iimage-gallery.php?idpost=18&idg=1&idi=3
i get thet error
this link is in my html page,
but their is no gallery (folder thumb-cach is empty)
malyfred 2005-07-30 / 4.32 pm
>Djuki It seems that you have found your way:)
Djuki 2005-07-30 / 4.35 pm
i see error i have extra & in path but when i post hire their is no &
when i open in new window browser “eat” amp becouse it don’y have initialisation and open page with no errors.
but folder thumb-cach is still empty…
Djuki 2005-07-30 / 4.46 pm
in my post their is no gallery.
Pluginn dont create amall pictures.
malyfred 2005-07-30 / 6.49 pm
>Djuki Actually there si gallery in your post and it looks exactly as it should. There are just thumbnails missing in thumb-cache directory.
It’s quite strange situation because there are no errors shown in the post and they would be there if something has occured during creating of thumbnails:(
Djuki 2005-07-31 / 12.02 pm
Link is not ok too.
in link i have & amp ;
but when i write ih hire html hide it becouse of & and ; and withouth amp link works ok, but in link i have amp
amp variabla is in link and don’t have value,
thet’s not ok.
I know what’s for amp, and why do’t have value.
Djuki 2005-07-31 / 12.09 pm
I mean u know what amp variabla is for, and whz don’t have value.
Djuki 2005-07-31 / 12.13 pm
in my post i have this
Errors: Thumbnail path invalidThumbnail path invalidThumbnail path invalidThumbnail path invalidThumbnail path invalid
This links are ok, there are pictures, i don;t know how path can be invalid ?
Johannes 2005-07-31 / 12.51 pm
Hi. Is there a possibility that the files which are used in the gallery are automatically fixed on a maximum size. Else I have to edit every big 2000×3000px file.
David 2005-07-31 / 2.00 pm
LHK - I used the following in my iimage-gallery-template.php to create a back link to the originating post.
Back to post | ‘;
malyfred - congrats on a great plugin!
malyfred 2005-07-31 / 2.10 pm
>Johannes You can use IImage Browser to resize your images quite easily or use some a bit advanced PHP code in the template.
David 2005-07-31 / 2.15 pm
Oops.
LHK - The content of that back link should read
href=”‘ . get_settings(’home’) . ‘/?p=’ . $idpost . ‘”
malyfred 2005-07-31 / 2.16 pm
>Djuki These errors are actually good news. Check againg if you’ve set proper path in administration > Options > Miscellaneous > Destination directory. And if
$ig_settings['ig_cache_dir']in the iimage-gallery.php is set properly as well.Djuki 2005-07-31 / 3.49 pm
Destination dir:
/home/padrino/public_html/djuki/blog/wp-content
$ig_settings[’ig_cache_dir’] = ‘/thumb-cache/’;
Is this ok ?
Djuki 2005-07-31 / 6.48 pm
Stupid mistake.
I change hosting provider and upload path was old.
/home/padrino/public_html/djuki/blog/wp-content
is bad
/home/djuki/public_html/djuki/blog/wp-content
is right
Thanks for great plugin
Gros Pécule » Archive du blog » Idées pour le blog 2005-08-05 / 7.42 am
[…] artinet.nl/wp-site/simple-image-gallery http://redalt.com/downloads/ (celui nommé Exhibit http://fredfred.net/skriker/index.php/iimage-gallery < ?php the_meta(); ?>
[…]
Geir Olav 2005-08-06 / 10.56 pm
Hi,
I like your IImage Gallery and Browser, and i like your stand alone browse feature.
When the user is browsing the stand alone gallery, there is no easy way for them to come back to the original post or page.
What have I missed?
Wayne 2005-08-09 / 9.09 am
David,
Where exactly would I put that code in the templet?
IImage Gallery is great btw.
Thanks.
The World According To Wayne » IImage Gallery 2005-08-09 / 9.28 am
[…] age of giving me some time to fiddle with some of these plugins. I’ve managed to get IImage Gallery to work now. If you would direct your attention to This Post you can see it i […]
malyfred 2005-08-10 / 12.18 am
>Wayne&Geir Olav
Put this code:
<?php echo '<a href=”' . get_settings('home') . '/?p=' . $idpost .'”>Back</a>';?>anywhere you want in the iimage-gallery-template.php - it’s a template - you can refine it as you want.
Wayne 2005-08-10 / 4.10 am
Thank you!
MSS - T. Joe’s Weblog » Blog Archive » Le 1er xtra 2005-08-12 / 2.06 pm
[…] pression avec une console sous Linux Le 1er xtra voila je cherche la photo http://fredfred.net/skriker/index.php/iimage-gallery […]
TonyWorld.net » Blog Archive » Cumpliento 300 con una galeria 2005-08-13 / 3.30 pm
[…] web. Por ello, voy a aprovechar para probar un plugin para wordpress. El plugin se llama iimage-gallery, os lo podeis descargar (la versi�n 1.4-beta) desde aqu� directamente. Me gus […]
hansgraudal 2005-08-16 / 6.08 pm
i upgraded to the latest version of wordpress, and all of a sudden, my galleries don’t work anymore.
The thumbnails are created, and listed in the posts, but when i click a thumbnail to go to the stand-alone browser, it just spits out a plain html file saying: - what do i do?
malyfred 2005-08-16 / 8.24 pm
hansgraudal> Don’t you have a direct link to some non-working gallery? Or at least what exactly the link to stand-alone browser look like? Isn’t there somehting missing or…?
xchylde speakin but mostly writing » Blog Archive » Ein paar Bilder (II) 2005-08-16 / 9.05 pm
[…] « Ein paar Bilder (I)
Ein paar Bilder (II)
Da das Plugin ein paar Probleme macht, wenn man zu viele Bilder einfügt, hier die zweite Runde: […]
Doug 2005-08-20 / 6.35 am
hansgraudal> After several hours of banging my head on this one, I found a solution. The problem is caused by the disabling of the ‘register_globals’ directive in the 1.5.2 upgrade — which is required for good security.
A quick fix requires editing the two iimage-gallery files. In iimage-