Gallery Field issueshttps://code.sigsiu.net/Sigsiu.NET/GalleryField/-/issues2017-06-23T10:09:47Zhttps://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 Suskihttps://code.sigsiu.net/Sigsiu.NET/GalleryField/-/issues/14Can't use more than one gallery field2017-06-23T10:09:21ZSławek SikoraCan't use more than one gallery fieldWhen there is more than one gallery field it use same 'Add Image' button. After clicking it open selecting image window for each gallery. After selecting image for each and attempt to entry save there appear following error for each image:
`File 20140416_102244.jpg couldn't be uploaded. Please check the shown error message and remove it if necessary.`When there is more than one gallery field it use same 'Add Image' button. After clicking it open selecting image window for each gallery. After selecting image for each and attempt to entry save there appear following error for each image:
`File 20140416_102244.jpg couldn't be uploaded. Please check the shown error message and remove it if necessary.`https://code.sigsiu.net/Sigsiu.NET/GalleryField/-/issues/15Share button is shown also if no media is selected in the configuration2017-06-23T10:09:12ZSigrid SuskiShare button is shown also if no media is selected in the configuration1.0Radek SuskiRadek Suskihttps://code.sigsiu.net/Sigsiu.NET/GalleryField/-/issues/16Keep original = "no" does not work2017-06-23T10:09:00ZSigrid SuskiKeep original = "no" does not workthe original images is keptthe original images is kept1.0Radek SuskiRadek Suskihttps://code.sigsiu.net/Sigsiu.NET/GalleryField/-/issues/20upload.xml file break our template editor2017-06-23T10:08:30ZSławek Sikoraupload.xml file break our template editorWhen upload.xml file is edited it break our editor. Editor is cut after line:<br />
`<textarea class="form-control" data-role="description" name="%FIELDNAME%[descriptions][]" placeholder="%DESCRIPTION%">`
<br />
and there is displayed uploadfile button below itWhen upload.xml file is edited it break our editor. Editor is cut after line:<br />
`<textarea class="form-control" data-role="description" name="%FIELDNAME%[descriptions][]" placeholder="%DESCRIPTION%">`
<br />
and there is displayed uploadfile button below ithttps://code.sigsiu.net/Sigsiu.NET/GalleryField/-/issues/21can't save entry with gallery field2017-06-23T10:08:19ZSławek Sikoracan't save entry with gallery fieldGot following error when I try to save the form with enabled gallery field:<br />
```
fatal error: Argument 3 passed to Sobi\Input\Input::Arr() must be of the type array
, string given, called in /home/sigsiu52/public_html/test/components/com_sobipro/opt/fields/gallery.php
on line 212 and defined in <b>phar:///home/sigsiu52/public_html/test/libraries/sobi/Sobi-1.0.2.phar
.tar.gz/Input/Input.php</b> on line <b>61</b><br />
```Got following error when I try to save the form with enabled gallery field:<br />
```
fatal error: Argument 3 passed to Sobi\Input\Input::Arr() must be of the type array
, string given, called in /home/sigsiu52/public_html/test/components/com_sobipro/opt/fields/gallery.php
on line 212 and defined in <b>phar:///home/sigsiu52/public_html/test/libraries/sobi/Sobi-1.0.2.phar
.tar.gz/Input/Input.php</b> on line <b>61</b><br />
```Radek SuskiRadek Suskihttps://code.sigsiu.net/Sigsiu.NET/GalleryField/-/issues/24image filename instead of title ...2017-06-23T10:07:36ZSigrid Suskiimage filename instead of title ...... shown when editing. Only if field is used as category field.
It happens only if the 'Fields' tab is not shown while opening. Refreshing the page shows the titles again.... shown when editing. Only if field is used as category field.
It happens only if the 'Fields' tab is not shown while opening. Refreshing the page shows the titles again.1.0Radek SuskiRadek Suskihttps://code.sigsiu.net/Sigsiu.NET/GalleryField/-/issues/5Field type option layout2017-05-18T07:47:09ZSławek SikoraField type option layoutIn the Gallery field configuration information part there is 'weird thing' in the place of the field type option (see attachment), I'm not sure how it should looks exactly, but for example in the info field this option is completely removed!
[screen](/uploads/265417699eb8ec7a102d880845072112/screen.png)In the Gallery field configuration information part there is 'weird thing' in the place of the field type option (see attachment), I'm not sure how it should looks exactly, but for example in the info field this option is completely removed!
[screen](/uploads/265417699eb8ec7a102d880845072112/screen.png)https://code.sigsiu.net/Sigsiu.NET/GalleryField/-/issues/7File type is not allowed2017-05-18T07:40:24ZSigrid SuskiFile type is not allowedif uploading an image (front- and back-end) I get the message 'file type is not allowed'. If saving the entry then results in,
500 Cannot save fields data. Cannot crop image: Cannot get info about given image. File /tmp/filesc07b78909eb49969698ae7458f86903e/048249aa22311a21d86fdc65e85a97dd/DSC03489.JPG may not be an image or is named improperly. Check the file type and try again... inif uploading an image (front- and back-end) I get the message 'file type is not allowed'. If saving the entry then results in,
500 Cannot save fields data. Cannot crop image: Cannot get info about given image. File /tmp/filesc07b78909eb49969698ae7458f86903e/048249aa22311a21d86fdc65e85a97dd/DSC03489.JPG may not be an image or is named improperly. Check the file type and try again... in1.0Radek SuskiRadek Suskihttps://code.sigsiu.net/Sigsiu.NET/GalleryField/-/issues/1Gallery field JS error2017-05-12T09:17:31ZSławek SikoraGallery field JS errorGallery field generate Fatal JS error in the add entry form at front and back-end:
```
jquery.min.js?4a8ad77…:2 Uncaught Error: Syntax error, unrecognized expression: data-role=primary
at Function.fa.error (jquery.min.js?4a8ad77…:2)
at fa.tokenize (jquery.min.js?4a8ad77…:2)
at Function.fa (jquery.min.js?4a8ad77…:2)
at Function.a.find (jquery-migrate.min.js?4a8ad77…:2)
at a.fn.init.find (jquery.min.js?4a8ad77…:2)
at a.fn.init.a.fn.find (jquery-migrate.min.js?4a8ad77…:2)
at HTMLDivElement.<anonymous> (field_gallery_edit.js:72)
at Function.each (jquery.min.js?4a8ad77…:2)
at a.fn.init.each (jquery.min.js?4a8ad77…:2)
at HTMLDocument.<anonymous> (field_gallery_edit.js:21)
```
This error breaks working of the GeoMap module, category field in SigsiuTree mode or Entries module in the Ajax mode. Seems like it also affect some gallery functionalities like changing images order or making it primaryGallery field generate Fatal JS error in the add entry form at front and back-end:
```
jquery.min.js?4a8ad77…:2 Uncaught Error: Syntax error, unrecognized expression: data-role=primary
at Function.fa.error (jquery.min.js?4a8ad77…:2)
at fa.tokenize (jquery.min.js?4a8ad77…:2)
at Function.fa (jquery.min.js?4a8ad77…:2)
at Function.a.find (jquery-migrate.min.js?4a8ad77…:2)
at a.fn.init.find (jquery.min.js?4a8ad77…:2)
at a.fn.init.a.fn.find (jquery-migrate.min.js?4a8ad77…:2)
at HTMLDivElement.<anonymous> (field_gallery_edit.js:72)
at Function.each (jquery.min.js?4a8ad77…:2)
at a.fn.init.each (jquery.min.js?4a8ad77…:2)
at HTMLDocument.<anonymous> (field_gallery_edit.js:21)
```
This error breaks working of the GeoMap module, category field in SigsiuTree mode or Entries module in the Ajax mode. Seems like it also affect some gallery functionalities like changing images order or making it primaryRadek SuskiRadek Suski