Gallery Field issueshttps://code.sigsiu.net/Sigsiu.NET/GalleryField/-/issues2023-03-15T12:34:59Zhttps://code.sigsiu.net/Sigsiu.NET/GalleryField/-/issues/36Title and description removing2023-03-15T12:34:59ZSławek SikoraTitle and description removingLooks like there can't be removed completely title and description text of the uploaded images. It can be edited and changed, but when it is removed completely after saving entry changes are reverted.Looks like there can't be removed completely title and description text of the uploaded images. It can be edited and changed, but when it is removed completely after saving entry changes are reverted.2.0 BetaSigrid SuskiSigrid Suskihttps://code.sigsiu.net/Sigsiu.NET/GalleryField/-/issues/37Only super user can add data to gallery field set as category field2023-03-15T12:34:53ZSławek SikoraOnly super user can add data to gallery field set as category fieldWhen Gallery field is created as category field, there is no possibility to add images to this field by other user than one which haven't super user rights. It is possible to all other fields, but when uploaded are images to gallery field, there appear following error error message:<br/>
You are not allowed to edit this field. Field 'Gallery' is an administrative field.When Gallery field is created as category field, there is no possibility to add images to this field by other user than one which haven't super user rights. It is possible to all other fields, but when uploaded are images to gallery field, there appear following error error message:<br/>
You are not allowed to edit this field. Field 'Gallery' is an administrative field.2.0 BetaSigrid SuskiSigrid Suskihttps://code.sigsiu.net/Sigsiu.NET/GalleryField/-/issues/38warning during entry save2023-03-15T12:34:46ZSławek Sikorawarning during entry saveThere appear following warning in the error log when entry is saved:<br />
```
E_WARNING
Return Code
0
Error Message
in_array() expects parameter 2 to be array, null given
In File
/home/sikorasobipro/test2.sikora.sobipro.eu/components/com_sobipro/opt/fields/gallery.php
At Line
451
```There appear following warning in the error log when entry is saved:<br />
```
E_WARNING
Return Code
0
Error Message
in_array() expects parameter 2 to be array, null given
In File
/home/sikorasobipro/test2.sikora.sobipro.eu/components/com_sobipro/opt/fields/gallery.php
At Line
451
```2.0 BetaSigrid SuskiSigrid Suskihttps://code.sigsiu.net/Sigsiu.NET/GalleryField/-/issues/33Can't create new field2020-03-10T12:27:34ZSławek SikoraCan't create new fieldCreating new field cause following error:<br />
Fatal error: Class 'SPField_Gallery' not found in .../components/com_sobipro/opt/fields/adm/gallery.php on line 25Creating new field cause following error:<br />
Fatal error: Class 'SPField_Gallery' not found in .../components/com_sobipro/opt/fields/adm/gallery.php on line 252.0 BetaSigrid SuskiSigrid Suskihttps://code.sigsiu.net/Sigsiu.NET/GalleryField/-/issues/34Accessing gallery view with disabled SEF2020-03-10T12:27:27ZSławek SikoraAccessing gallery view with disabled SEFWhen we try to open gallery view when SEF in Joomla! is disabled there appear following error in the console:<br>
Error: Call to undefined method Joomla\CMS\Document\RawDocument::addHeadLink(): You have no permission to access this site<br>
and images aren't loaded.When we try to open gallery view when SEF in Joomla! is disabled there appear following error in the console:<br>
Error: Call to undefined method Joomla\CMS\Document\RawDocument::addHeadLink(): You have no permission to access this site<br>
and images aren't loaded.2.0 BetaSigrid SuskiSigrid Suskihttps://code.sigsiu.net/Sigsiu.NET/GalleryField/-/issues/35Categories export and gallery field2020-03-10T12:27:21ZSławek SikoraCategories export and gallery fieldDuring categories export gallery field data isn't exported at all.During categories export gallery field data isn't exported at all.2.0 BetaSigrid SuskiSigrid Suskihttps://code.sigsiu.net/Sigsiu.NET/GalleryField/-/issues/29Gallery field export don't work2018-11-01T15:45:43ZSławek SikoraGallery field export don't workIt doesn't export any images to teh zip archive, in the csv file as data appear only: YToxOntpOjA7YjoxO30=It doesn't export any images to teh zip archive, in the csv file as data appear only: YToxOntpOjA7YjoxO30=1.1Sigrid SuskiSigrid Suskihttps://code.sigsiu.net/Sigsiu.NET/GalleryField/-/issues/27Primary picture marker saved only during uploading new image2018-11-01T15:45:37ZSławek SikoraPrimary picture marker saved only during uploading new imagePrimary picture marker is saved only for newly uploaded images, it can't be selected for images which wasn't uploaded during current edit process and is removed when entry is saved during future updatesPrimary picture marker is saved only for newly uploaded images, it can't be selected for images which wasn't uploaded during current edit process and is removed when entry is saved during future updates1.1Radek SuskiRadek Suskihttps://code.sigsiu.net/Sigsiu.NET/GalleryField/-/issues/26no data for image generated in gallery view when Keep Original Image option i...2018-11-01T15:45:22ZSławek Sikorano data for image generated in gallery view when Keep Original Image option is disabledWhen Keep Original Image option is disabled there is no data generated for gallery view for uploaded images, blank page is displayed and there is no data in the XML output.When Keep Original Image option is disabled there is no data generated for gallery view for uploaded images, blank page is displayed and there is no data in the XML output.1.1Radek SuskiRadek Suskihttps://code.sigsiu.net/Sigsiu.NET/GalleryField/-/issues/30Gallery field can't be installed at utf8mb4 database collation2018-11-01T15:45:16ZSławek SikoraGallery field can't be installed at utf8mb4 database collationLike in the title, when database is set to utf8mb4 collation installation attempt over with following error: <br />
0 Specified key was too long; max key length is 767 bytes
<br /> solution to this is changing all varchar(250) parameters to varchar(191) in the sql installation query.Like in the title, when database is set to utf8mb4 collation installation attempt over with following error: <br />
0 Specified key was too long; max key length is 767 bytes
<br /> solution to this is changing all varchar(250) parameters to varchar(191) in the sql installation query.1.1Sigrid SuskiSigrid Suskihttps://code.sigsiu.net/Sigsiu.NET/GalleryField/-/issues/31Thumbnail creation2018-11-01T15:44:59ZSławek SikoraThumbnail creationThis is not really bug, but a bit confusing behaviour. In this moment we have possibility to switch on or off thumbnail creation, but when we disable it, we are losing possibility to display gallery images at the front-end - there appear only white box with image name in the vcard and details view. I think we should remove this option or give users possibility to choose what image type should be loaded in the vcard and details.This is not really bug, but a bit confusing behaviour. In this moment we have possibility to switch on or off thumbnail creation, but when we disable it, we are losing possibility to display gallery images at the front-end - there appear only white box with image name in the vcard and details view. I think we should remove this option or give users possibility to choose what image type should be loaded in the vcard and details.1.1Sigrid SuskiSigrid Suskihttps://code.sigsiu.net/Sigsiu.NET/GalleryField/-/issues/28Wrong title and description used for images with same name2018-11-01T15:44:51ZSławek SikoraWrong title and description used for images with same nameWhen for different entries are uploaded images with same name, title and description of the images already uploaded for existing entries is changed to this which was used in the latest image with same name. For example, my gallery field use following path for images storing:<br />
images/sobipro/entries/{id}/{nid}<br />
In the entry A I upload image image1.png with some title and description. Now, when I create 2nd entry B and upload there image which also have name image1.png and set some title and description for it, after saving entry they will be assigned also for image image1.png in entry A.When for different entries are uploaded images with same name, title and description of the images already uploaded for existing entries is changed to this which was used in the latest image with same name. For example, my gallery field use following path for images storing:<br />
images/sobipro/entries/{id}/{nid}<br />
In the entry A I upload image image1.png with some title and description. Now, when I create 2nd entry B and upload there image which also have name image1.png and set some title and description for it, after saving entry they will be assigned also for image image1.png in entry A.1.1Radek SuskiRadek Suskihttps://code.sigsiu.net/Sigsiu.NET/GalleryField/-/issues/32Resize images vs gallery view2018-11-01T15:44:45ZSławek SikoraResize images vs gallery viewWhen we disable resize image option and we try to access gallery created with such configuration, we will be able to open only one image in the gallery view. It is always displayed same image no matter at which image we will click at details view or if we change images in the gallery view directly. For me it is always last uploaded image.When we disable resize image option and we try to access gallery created with such configuration, we will be able to open only one image in the gallery view. It is always displayed same image no matter at which image we will click at details view or if we change images in the gallery view directly. For me it is always last uploaded image.https://code.sigsiu.net/Sigsiu.NET/GalleryField/-/issues/2Images aren't saved2017-06-23T10:10:32ZSławek SikoraImages aren't savedI'm not sure if it isn't related to the JS error generated by this field, but images uploaded to this field aren't aren't saved. There is no error during saving process, but after it there are no images in the field.I'm not sure if it isn't related to the JS error generated by this field, but images uploaded to this field aren't aren't saved. There is no error during saving process, but after it there are no images in the field.Radek SuskiRadek Suskihttps://code.sigsiu.net/Sigsiu.NET/GalleryField/-/issues/3Moving images generate JS error2017-06-23T10:10:22ZSławek SikoraMoving images generate JS errorMoving images up/down generate following JS error:
```
jquery-sortable.js:48 Uncaught TypeError: Cannot read property 'removeClass' of null
at HTMLDivElement.<anonymous> (jquery-sortable.js:48)
at HTMLDivElement.dispatch (jquery.min.js?4a8ad77…:3)
at HTMLDivElement.r.handle (jquery.min.js?4a8ad77…:3)
```
In the result images aren't saved in the entry. Same for front and back-endMoving images up/down generate following JS error:
```
jquery-sortable.js:48 Uncaught TypeError: Cannot read property 'removeClass' of null
at HTMLDivElement.<anonymous> (jquery-sortable.js:48)
at HTMLDivElement.dispatch (jquery.min.js?4a8ad77…:3)
at HTMLDivElement.r.handle (jquery.min.js?4a8ad77…:3)
```
In the result images aren't saved in the entry. Same for front and back-endRadek SuskiRadek Suskihttps://code.sigsiu.net/Sigsiu.NET/GalleryField/-/issues/4Favourite button don't work on the front-end2017-06-23T10:10:14ZSławek SikoraFavourite button don't work on the front-endAs in the title, favourite button don't work on the front-end, there aren't any errors in the console.As in the title, favourite button don't work on the front-end, there aren't any errors in the console.Sławek SikoraSławek Sikorahttps://code.sigsiu.net/Sigsiu.NET/GalleryField/-/issues/6Approving entry remove al images from gallery2017-06-23T10:10:06ZSławek SikoraApproving entry remove al images from galleryIt happens when entry is created by user without rights to approve own entries. Here is step-by-step instruction to recreate problem
- add entry with images uploaded to the gallery as user without permission to add autopublish entries (I use for it visitor)
- entry is saved and when you access edit entry view in the back-end images are there
- publish entry from the entry list or from the entry edit page
- when you check entry again images are removed from the fieldIt happens when entry is created by user without rights to approve own entries. Here is step-by-step instruction to recreate problem
- add entry with images uploaded to the gallery as user without permission to add autopublish entries (I use for it visitor)
- entry is saved and when you access edit entry view in the back-end images are there
- publish entry from the entry list or from the entry edit page
- when you check entry again images are removed from the fieldhttps://code.sigsiu.net/Sigsiu.NET/GalleryField/-/issues/8Required functionality for gallery field doesn't work2017-06-23T10:09:56ZSławek SikoraRequired functionality for gallery field doesn't workEntry can be saved even if there is no image uploaded to the gallery field.
Can be checked here:
http://181.224.130.224/~sigsiu52/test2/entry/add
gallery field is set as requiredEntry can be saved even if there is no image uploaded to the gallery field.
Can be checked here:
http://181.224.130.224/~sigsiu52/test2/entry/add
gallery field is set as requiredSławek SikoraSławek Sikorahttps://code.sigsiu.net/Sigsiu.NET/GalleryField/-/issues/10Error after saving entry with uplloaded bigger image than allowed2017-06-23T10:09:47ZSławek SikoraError after saving entry with uplloaded bigger image than allowedProblem appear when we upload image which have bigger size than allowed. We got info about error of course but when I try to save entry I got 500 error like this:
`500 - Cannot save fields data. Cannot crop image: Cannot get info about given image. File /tmp/files6d4d26e2820fb800942057088d489741/dcced6bffe1a9e47f20684077460fd5b/2013-11-12 13.28.04.jpg may not be an image or is named improperly. Check the file type and try again...`
I think possibility of saving entry should be blocked until image isn't removed, or such image should be removed automatically.Problem appear when we upload image which have bigger size than allowed. We got info about error of course but when I try to save entry I got 500 error like this:
`500 - Cannot save fields data. Cannot crop image: Cannot get info about given image. File /tmp/files6d4d26e2820fb800942057088d489741/dcced6bffe1a9e47f20684077460fd5b/2013-11-12 13.28.04.jpg may not be an image or is named improperly. Check the file type and try again...`
I think possibility of saving entry should be blocked until image isn't removed, or such image should be removed automatically.Sławek SikoraSławek Sikorahttps://code.sigsiu.net/Sigsiu.NET/GalleryField/-/issues/11Date taken2017-06-23T10:09:33ZSigrid SuskiDate takenthe 'date taken' is not the date from the EXIF data or the date of the original file, but the date the file was uploaded into the gallery.the 'date taken' is not the date from the EXIF data or the date of the original file, but the date the file was uploaded into the gallery.1.0Radek SuskiRadek Suski