Ow...
You have to add &gal_desc=`1` to the snippet call.
You have a very restrictive server.
The script can not process FTP upload, you need to upload through upload page.
And I believe you can not delete script’s upload.
Script does the script, FTP user edits FTP uploads.
So, you MUST also create folder from the module.
[Mon Feb 28 21:34:08 2011] [error] PHP Warning: imagejpeg() [<a href=’function.imagejpeg’>function.imagejpeg</a>]: Unable to open ’/home/u47330/photo.teamb.ru/www/easy2gallery/room/19.jpg’ for writing: Permission denied in /home/u47330/photo.teamb.ru/www/assets/modules/easy2/includes/classes/e2g.module.class.php on line 845
[Mon Feb 28 21:34:08 2011] [error] PHP Fatal error: Maximum execution time of 30 seconds exceeded in /home/u47330/photo.teamb.ru/www/assets/modules/easy2/includes/classes/e2g.module.class.php on line 839
[Mon Feb 28 21:34:41 2011] [warn] [client 188.16.119.172] IO limit exceeded (12)
[Mon Feb 28 21:34:41 2011] [warn] [client 188.16.119.172] Resource limit exceeded, access to photo.teamb.ru is temporarily denied
[Mon Feb 28 21:34:41 2011] [warn] [client 188.16.119.172] IO limit exceeded (12)
[Mon Feb 28 21:34:41 2011] [warn] [client 188.16.119.172] Resource limit exceeded, access to photo.teamb.ru is temporarily denied
<?php // highlighting
839. imagecopyresampled($pic, $im, 0, 0, 0, 0, $w, $h, $inf[0], $inf[1]);
840.
841. // SAVE
842. if ($inf[2] == 1)
843. imagegif($pic, $filename);
844. elseif ($inf[2] == 2)
845. imagejpeg($pic, $filename, $thq);
846. elseif ($inf[2] == 3)
847. imagepng($pic, $filename);
848. $this->_changeModOwnGrp('file', $filename);
No.
And can Easy2Gallery use youtube video?
Can I create gallery, where instead of pictures contains html code (youtube video)?
1. How big is the picture? More than 2 MB?
2. e2g.module.class.php:
<?php // highlighting 839. imagecopyresampled($pic, $im, 0, 0, 0, 0, $w, $h, $inf[0], $inf[1]); 840. 841. // SAVE 842. if ($inf[2] == 1) 843. imagegif($pic, $filename); 844. elseif ($inf[2] == 2) 845. imagejpeg($pic, $filename, $thq); 846. elseif ($inf[2] == 3) 847. imagepng($pic, $filename); 848. $this->_changeModOwnGrp('file', $filename);
They are only the image resizing.
Uhm... Have you save the config?
Btw, try the 1.4.0-PL on the above link.
There are many improvements and bugfixes.
Quote from: Elena at Mar 10, 2011, 08:22 AMNo.
And can Easy2Gallery use youtube video?
Can I create gallery, where instead of pictures contains html code (youtube video)?
And what for?
You can use TV or chunk for that, right?
what browsers?
установил Easy 2 Gallery 1,4,0
modx 1.0.4
все работает прекрасно в Firefox
в других браузерах не отображается галерея
Ask your host to allow htmlspecialchars_decode() function.
Fatal error: Call to undefined function: htmlspecialchars_decode() in /home/belkau/data/www/"мойсайт".ru/assets/modules/easy2/install/index.php on line 1253
Menu > Config > save
What do you mean? File? Menu config? What in menu?
Nope. Only if they are synchronized.
Maybe it is reason :
"Настройки изображений" -> "Пережать имеющиеся" : "да".
And script resizing all images every time?
Have you ever lost your images upon updating easy 2 gallery before?
Thank you!
Photo and structure of gallery do not disappear after reinstall?