I have this msg when i use your module :
Notice : Uninitialized string offset: 3 dans _himuesgallery_get_picturelist() (ligne 552 dans /var/www/drupal70/sites/all/modules/himuesgallery/himuesgallery.module).
Apart this msg it's work but if i have a big picture, it's doesn't resize it and it take all the screen; is it the basic design and in this case i have to choice carrefully my pic or i have something to do ?
Thanks
Comments
Comment #1
himue commentedHello gphilippe.
Himuesgallery will not resize any picture (except the tumbnails). It will show pictures "as is". The lightbox2-modul will show the picture in an small format and then you have the possibility to klick on a button to show the picture in it's origin size.
Unfortunately there seems to be no lightbox2 port for Drupal 7. In Drupal 7 himeusgallery uses colorbox. The Colorbox-module seems to show the picture allways in origin size.
If you don't use colorbox in Drupal 7, then a click on a thumbnail will open the origin picture in a new window/tab.
If you want to show a smaller image, you have to resize it before upload or use a filemanager, that can be resize the images on upload.
I wich situation you get the error-message? In sourcecode on line 552 there will be a test if a filename begins with an integer and an "-" (e.g. "001-"). Theroretically this can't fail (because a file must have a name ;-)
- Can you please post a list of the filenames in the directory?
- Is your drupal-install in webspace-root (e.g. www.website.com) or in a subdir (e.g. www.website.com/drupal7)
- Have the gallerypath under admin/himuesgallery a slash before or after the path? If yes, please delete it. If it dosn't change anything please post the path.
Greetings from
Himue
Comment #2
gphilippe commentedHello Himue,
i have colorbox, but when i put on the pic , it's doesn't restrict the size and it's unusable..
for the directories the module ask me to put the images in a directory named images and inside another directory named himuesgallery ; my pics are beginning with a number like "4.jpg"; after others test it's seems that the module does'nt accept pic beginning with a number.
With pics beginning with a word i have no more msg.
Regards
Comment #3
himue commentedThats right. Colorbox shows the pic "as is". You have to resize the pic before you upload it to the server,
O.k., thats the problem ;-)
If the description of pics is shorter than 4 charackters, please name the Pictures like "xxx-yyy.jpg" where "xxx" is a number like 001, 010, etc. The "-" must be there. "yyy" should be any string that you want to show as description for the picture. In your example name it eg. "001-4.jpg".
You can name all your pictures with "xxx-.". Himuesgallery will sort the pictures on the basis of the number in front of the name.
In next version i'll change the behaviour, so himuesgallery will show description of filenames with less then 4 characters.
Greetings from
Himue
Comment #4
himue commentedVersion 7.x-1.10 is online (or should be in some minutes). Please try it. There should be no error furthermore.
Greetings from
Himue