Thread Rating:
  • 3 Vote(s) - 3.67 Average
  • 1
  • 2
  • 3
  • 4
  • 5
I18N Gallery
mvlcek Wrote:
Mike Wrote:Installed v 1.4 into GS 3. Uploaded files. Created gallery. Applied prettyPhoto to my Gallery.

Not a single thumbnail show up. Nor in admin panel, nor in the users side.

Chrome replaces thumbnails with standard icons, so when user clicks icon, the original size picture show up.

But without thumbnail the plugin is obsolete for me.

Can You help me? What's going on? What could be wrong?

http://mariazemlyanykh.seowebart.ru/projects

Did you copy the whole plugin - including the .htaccess files in the subdirectories?
What are the links of the thumbs? Are they correct or is a directory missing?
Try http://your-site-and-path-to-getsimple/plugins/i18n_gallery/browser/pic.php. What do you get?

I only copied i18n_gallery.php and i18n_gallery folder with all its contents to my /plugins web server folder.
Here is the whole DIV of thumbnail:
<div class="gallery-thumb">
<a title="" rel="prettyPhoto[chastniydom2007]" href="http://mariazemlyanykh.seowebart.ru/data/uploads/chastniydom2007/chastniydom2007_1.jpeg">
<img alt="" src="http://mariazemlyanykh.seowebart.ru/plugins/i18n_gallery/browser/pic.php?p=chastniydom2007%2Fchastniydom2007_1.jpeg&amp;w=160&amp;h=120">
</a>
</div>


If I follow the href link (http://mariazemlyanykh.seowebart.ru/data...007_1.jpeg) I get to the right full-size picture file.

But the link to the thumbnail (http://mariazemlyanykh.seowebart.ru/plug...&amp;h=120) leads to the awfull symbols and
contain the following in the first line:
JFIF <CREATOR: gd-jpeg v1.0 (using IJG JPEG v62), quality = 100

In stead of expected thumbnail picture.

If I call (http://mariazemlyanykh.seowebart.ru/plug...er/pic.php), I get only one symbol. I can't copy it here - I manage to see it in source-view only. It is a square with two tiny zeros on the first line and tiny zero three in the second line.

What could possibly be happening?
Something wrong with GD resizing?
Something wrongwith my PHP?
Reply
Also I got '.gallery-prettyphoto .gallery-thumb { // width: 160px; /* for IE -7/CSS 2.0 - float needs width */ // } ?> ' message above gallery page contents.

Also - everything is the same with my localhost, which has excellent PHP and GD settings? suitable for any fancybox, prettyPhoto, lightbox etc...
Reply
Mike Wrote:But the link to the thumbnail (http://mariazemlyanykh.seowebart.ru/plug...&amp;h=120) leads to the awfull symbols and
contain the following in the first line:
JFIF <CREATOR: gd-jpeg v1.0 (using IJG JPEG v62), quality = 100

In stead of expected thumbnail picture.

It seems that something (webserver?) removes the content-type header from the response.
Maybe there is a .htaccess or general setting, which assumes that .php files always return HTML, e.g.
Code:
AddType text/html .php
You could check with the firefox plugin live http headers, if the result from the thumb link has a "Content-Type: image/jpeg" header.
I18N, I18N Search, I18N Gallery, I18N Special Pages - essential plugins for multi-language sites.
Reply
I checked with Live HTTP headers:

http://mariazemlyanykh.seowebart.ru/plug...&amp;h=120

returns:

Content-Type: text/html; charset=UTF-8

My had never had any issues with hosting provider, nor did I have such issues with localhost on my windows laptop.

Could You suggest any way to resolve the issue?
I really need to complete the task soon and I was sure that simple Get-simple (which I used before) + I18N gallery could make it real - easy to use XML based photo gallery web site.

Is it anything You can suggest that I do ?
please
Reply
Finally, I found out that those files I used lead to the error can't be resized. I opened them in Photoshop and simply saved again. Now everything works fine. This is for the second time I meet such a not-resizable pictures, but still don't know the reason of their existance.

Any ideas?
Reply
Mike Wrote:Finally, I found out that those files I used lead to the error can't be resized. I opened them in Photoshop and simply saved again. Now everything works fine. This is for the second time I meet such a not-resizable pictures, but still don't know the reason of their existance.

Any ideas?

No idea. But can you send me one of these non-working files by PM - I'll try to modify pic.php to output a warning.
I18N, I18N Search, I18N Gallery, I18N Special Pages - essential plugins for multi-language sites.
Reply
I18N Gallery version 1.4.2:
  • fixes a bug, where a style that was commented out was output nevertheless
I18N, I18N Search, I18N Gallery, I18N Special Pages - essential plugins for multi-language sites.
Reply
Dear mvlcek,

sincerely thanks for your Gallery. It is what I need to.
But we still need two modifications :
1) as you can see in the last picture (portrait images), the displayed comment (on the black background) is larger than the picture : http://www.zhou-yi.eu/index.php?id=visite. Then can you please adapt it automatically to the image width ?

2) as you can see on this given page the pictures are displayed on the left side and the text arrives just under the picture. Is it possible to add a parameter to tell it to align it to the left and then the text is floating at right (as the simple pictures displayed on this page http://www.zhou-yi.eu/index.php?id=fuxi), or the picture at right and then the text in floating at left or centered (just above the following text like on this page http://www.zhou-yi.eu/index.php?id=bagua) ?

Thanks for the attention you will have to this really needs.

Have a nice day and with pleasure to get soon your last gallery version with those both modification.

Miguipda ;-)
Reply
miguipda Wrote:1) as you can see in the last picture (portrait images), the displayed comment (on the black background) is larger than the picture : http://www.zhou-yi.eu/index.php?id=visite.

For the s3slider gallery all images must have the same size, as is stated in the description, when you select it.

miguipda Wrote:2) as you can see on this given page the pictures are displayed on the left side and the text arrives just under the picture. Is it possible to add a parameter to tell it to align it to the left and then the text is floating at right (as the simple pictures displayed on this page http://www.zhou-yi.eu/index.php?id=fuxi), or the picture at right and then the text in floating at left or centered (just above the following text like on this page http://www.zhou-yi.eu/index.php?id=bagua) ?

I do not understand this and the links do not word/do not match the description.
I18N, I18N Search, I18N Gallery, I18N Special Pages - essential plugins for multi-language sites.
Reply
mvlcek Wrote:
miguipda Wrote:1) as you can see in the last picture (portrait images), the displayed comment (on the black background) is larger than the picture : http://www.zhou-yi.eu/index.php?id=visite.

For the s3slider gallery all images must have the same size, as is stated in the description, when you select it.

miguipda Wrote:2) as you can see on this given page the pictures are displayed on the left side and the text arrives just under the picture. Is it possible to add a parameter to tell it to align it to the left and then the text is floating at right (as the simple pictures displayed on this page http://www.zhou-yi.eu/index.php?id=fuxi), or the picture at right and then the text in floating at left or centered (just above the following text like on this page http://www.zhou-yi.eu/index.php?id=bagua) ?

I do not understand this and the links do not word/do not match the description.


Hi,

I respect this decision that all images must have the same size.

For the other point I talked about the fact the gallery can be :
- set to the left or the right (in float mode) and the text just at right like this : http://www.w3schools.com/cssref/tryit.as...ycss_float (in the code at left you can change it to right or left and then see what happened for the image at the right side) or with this too : http://www.w3schools.com/cssref/playit.a...reval=none
- or centered and the text continue below.
Then a new parameter that allow to decide if the image must be displayed at left, at center or at right side.

Sincerely thanks and have a nice day,

Miguipda ;-)
Reply
miguipda Wrote:For the other point I talked about the fact the gallery can be :
- set to the left or the right (in float mode) and the text just at right like this : http://www.w3schools.com/cssref/tryit.as...ycss_float (in the code at left you can change it to right or left and then see what happened for the image at the right side) or with this too : http://www.w3schools.com/cssref/playit.a...reval=none
- or centered and the text continue below.
Then a new parameter that allow to decide if the image must be displayed at left, at center or at right side.

The I18N Gallery uses existing javascript libraries like s3slider and mainly simplifies selection of images, input of text, scaling of images and thumbnails and the setup of some parameters for the library. As for s3slider the library requires equal size images and the text is always on top of the image, thus specifying that the image is left doesn't make any sense.
However, you might be able to modify the look-and-feel a bit by specifying additional css rules in your style sheet.
I18N, I18N Search, I18N Gallery, I18N Special Pages - essential plugins for multi-language sites.
Reply
Thanks for script!

i problem;

Supersized in the "pause" and "thumbs" button is not active. How can I do?

my screen:
[Image: 214qe8k.jpg]

mvlcek.bplaced.net:
[Image: 29lyzae.jpg]
Reply
Johonwayni Wrote:Supersized in the "pause" and "thumbs" button is not active. How can I do?

my screen:
[Image: 214qe8k.jpg]

Seems like all the images are missing.
Check with a Chrome or Firefox with Firebug, what link was generated in your HTML at #controlswrapper > #controls > #play-button > #pauseplay and if this link is correct.
Try to access this image directly with the browser.
Check if the directory plugins/i18n_gallery/images/supersized exists on your server and has a .htaccess file with a line Allow from all.
I18N, I18N Search, I18N Gallery, I18N Special Pages - essential plugins for multi-language sites.
Reply
mvlcek Wrote:
Johonwayni Wrote:Supersized in the "pause" and "thumbs" button is not active. How can I do?

my screen:
[Image: 214qe8k.jpg]

Seems like all the images are missing.
Check with a Chrome or Firefox with Firebug, what link was generated in your HTML at #controlswrapper > #controls > #play-button > #pauseplay and if this link is correct.
Try to access this image directly with the browser.
Check if the directory plugins/i18n_gallery/images/supersized exists on your server and has a .htaccess file with a line Allow from all.

Thank you mvlcek!
I fixed the links and buttons are active but 're-play' and 'thumbs-down' buttons are missing.
Reply
I18N Gallery version 1.4.4:
  • fixes the display of galleries of type supersized, if GetSimple is installed in a subdirectory.
I18N, I18N Search, I18N Gallery, I18N Special Pages - essential plugins for multi-language sites.
Reply
mvlcek Wrote:I18N Gallery version 1.4.4:
  • fixes the display of galleries of type supersized, if GetSimple is installed in a subdirectory.

[Image: ok.gif]
Reply
Direct link to the photo? Is it possible?

Sample:

/albumname/#5
Reply
Johonwayni Wrote:Direct link to the photo? Is it possible?

/link-of-gallery-page?pic=5
(numbering starts with 0)
I18N, I18N Search, I18N Gallery, I18N Special Pages - essential plugins for multi-language sites.
Reply
mvlcek Wrote:
Johonwayni Wrote:Direct link to the photo? Is it possible?

/link-of-gallery-page?pic=5
(numbering starts with 0)

Thank you @mvlcek
Reply
Using the prettyphoto plugin, how do I override the default_width: 500 & default_height: 344 in the script? I'd like to have the popup window to be a larger size than the default (i.e. 800x600). I see where I can set the maximum sizes in the Gallery Options page, but can't find any way to change this initial popup window size.
Reply
onlyme Wrote:Using the prettyphoto plugin, how do I override the default_width: 500 & default_height: 344 in the script? I'd like to have the popup window to be a larger size than the default (i.e. 800x600). I see where I can set the maximum sizes in the Gallery Options page, but can't find any way to change this initial popup window size.

I'm not sure I understand your question.

The popup window size depends on the image size and the image will be scaled to the maximum width/height (you can also only set one), if it is larger. If the image is smaller there is no option to enlarge it.

The default maximum width/height is set in the general gallery settings, but can be overridden in the gallery specific options.
I18N, I18N Search, I18N Gallery, I18N Special Pages - essential plugins for multi-language sites.
Reply
mvlcek Wrote:
onlyme Wrote:Using the prettyphoto plugin, how do I override the default_width: 500 & default_height: 344 in the script? I'd like to have the popup window to be a larger size than the default (i.e. 800x600). I see where I can set the maximum sizes in the Gallery Options page, but can't find any way to change this initial popup window size.

I'm not sure I understand your question.

The popup window size depends on the image size and the image will be scaled to the maximum width/height (you can also only set one), if it is larger. If the image is smaller there is no option to enlarge it.

The default maximum width/height is set in the general gallery settings, but can be overridden in the gallery specific options.

My apologies for not being clear enough. Please allow me to to try again...
The images that I have uploaded to the gallery directory are all at least 1280x800. They have all been added to a gallery. Using the "Edit Gallery" function I can see that all the images are available and those thumbnails on that "Edit Gallery" page reflect the original 1280x800 dimensions. When I view my gallery page and click on a thumbnail the popup window that prettyphoto displays appears to be using the 500x344 dimensions that are set as the defaults in the prettyphoto javascript source file. I don't see where I can override these values so that I can have that first popup window be generated using a larger dimension of something like 800x600. I, of course, can click on the "expander" in the prettyphoto popup window and display the photo at the 1280x800 size. What I'm looking for is to have the first popup be a size that is a larger generated size than what is currently being displayed. Highslide does this automatically by generating a popup that is the largest possible for the browser currently in use, but obviously I have to manually set this somewhere for prettyphoto. I hope this is clearer. I suppose I'm trying to get prettyphoto to act more like highslide...
Reply
onlyme Wrote:My apologies for not being clear enough. Please allow me to to try again...
The images that I have uploaded to the gallery directory are all at least 1280x800. They have all been added to a gallery. Using the "Edit Gallery" function I can see that all the images are available and those thumbnails on that "Edit Gallery" page reflect the original 1280x800 dimensions. When I view my gallery page and click on a thumbnail the popup window that prettyphoto displays appears to be using the 500x344 dimensions that are set as the defaults in the prettyphoto javascript source file. I don't see where I can override these values so that I can have that first popup window be generated using a larger dimension of something like 800x600. I, of course, can click on the "expander" in the prettyphoto popup window and display the photo at the 1280x800 size. What I'm looking for is to have the first popup be a size that is a larger generated size than what is currently being displayed. Highslide does this automatically by generating a popup that is the largest possible for the browser currently in use, but obviously I have to manually set this somewhere for prettyphoto. I hope this is clearer. I suppose I'm trying to get prettyphoto to act more like highslide...

That's exactly what prettyPhoto and Fancybox do, too. However, maximum size for them means that there is a "reasonable" area around the popup, too, like maximum image size is appr. 80% of current browser client area. E.g. on my screen with vertical 1050 pixels I only see the unscaled 800 pixel high image, when I press F11 in Firefox (fullscreen browser).
I18N, I18N Search, I18N Gallery, I18N Special Pages - essential plugins for multi-language sites.
Reply
mvlcek Wrote:
onlyme Wrote:My apologies for not being clear enough. Please allow me to to try again...
The images that I have uploaded to the gallery directory are all at least 1280x800. They have all been added to a gallery. Using the "Edit Gallery" function I can see that all the images are available and those thumbnails on that "Edit Gallery" page reflect the original 1280x800 dimensions. When I view my gallery page and click on a thumbnail the popup window that prettyphoto displays appears to be using the 500x344 dimensions that are set as the defaults in the prettyphoto javascript source file. I don't see where I can override these values so that I can have that first popup window be generated using a larger dimension of something like 800x600. I, of course, can click on the "expander" in the prettyphoto popup window and display the photo at the 1280x800 size. What I'm looking for is to have the first popup be a size that is a larger generated size than what is currently being displayed. Highslide does this automatically by generating a popup that is the largest possible for the browser currently in use, but obviously I have to manually set this somewhere for prettyphoto. I hope this is clearer. I suppose I'm trying to get prettyphoto to act more like highslide...

That's exactly what prettyPhoto and Fancybox do, too. However, maximum size for them means that there is a "reasonable" area around the popup, too, like maximum image size is appr. 80% of current browser client area. E.g. on my screen with vertical 1050 pixels I only see the unscaled 800 pixel high image, when I press F11 in Firefox (fullscreen browser).

Thank you very much! I had not tested the prettyphoto initial popup size using the F11 - Fullscreen configuration of the browser. Clicking the thumbnail when in fullscreen mode (F11) results in a perfectly sized popup window that takes advantage of most of the available screen real estate. It certainly looks to be more that 80% of the available client window or screen height. The percentage of the browser client window height utilized when not in F11 - fullscreen mode is, as you say, about 80% of the available height. I do appreciate the lesson into the ways of the PrettyPhoto javascript. Thanks once again for all your efforts...
Reply
Hi, Gallery page inside "Copy link to for this image" Can I add a button or in the input?
Reply




Users browsing this thread: 2 Guest(s)