2017-10-20, 22:55:30
I'm using this plugin for many pages in many many configurations and never had problems. Works with no problems with i18n special pages 1.3.5 and GS 3.3.12 or newer
http://flexphperia.net - my portfolio
The following warnings occurred: | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Warning [2] Undefined array key "threadviews_countguests" - Line: 745 - File: showthread.php PHP 8.1.31 (Linux)
|
I18N Special Pages extras
|
2017-10-20, 22:55:30
I'm using this plugin for many pages in many many configurations and never had problems. Works with no problems with i18n special pages 1.3.5 and GS 3.3.12 or newer
http://flexphperia.net - my portfolio
2017-10-20, 22:56:38
(2017-10-11, 18:21:12)rio2000 Wrote: Hello. Never had this problem. What you see? What's happening?
http://flexphperia.net - my portfolio
2017-10-20, 23:07:35
2017-10-20, 23:11:34
(2017-10-20, 23:07:35)rio2000 Wrote:Please check on new clean install of GS with I18N special pages 1.3.5(2017-10-20, 22:56:38)mganko Wrote:(2017-10-11, 18:21:12)rio2000 Wrote: Hello.
http://flexphperia.net - my portfolio
2018-04-25, 19:21:00
Hello! There is a problem with SSL. If I add HTTPS in the settings, then the thumbnails disappear. And I can not add new pictures.
I think the problem is somewhere in the validator.php.
2018-04-25, 23:29:18
(2018-04-25, 19:21:00)ChronosMe1 Wrote: Hello! There is a problem with SSL. If I add HTTPS in the settings, then the thumbnails disappear. And I can not add new pictures. Enable debuging mode in GS define('GSDEBUG', true); Try to open thumbnail url in browser, and see what is happening.
http://flexphperia.net - my portfolio
2018-04-26, 00:41:17
(This post was last modified: 2018-04-26, 03:22:10 by ChronosMe1.)
(2018-04-25, 23:29:18)mganko Wrote:(2018-04-25, 19:21:00)ChronosMe1 Wrote: Hello! There is a problem with SSL. If I add HTTPS in the settings, then the thumbnails disappear. And I can not add new pictures. If I enable debugging mode, this only works on the site, not on the admin area. Pictures open normally. They are not visible only inside the editing page. Here is an example: if I output direct links in the listing of pages (see attachments), pictures are available. If I open edit page, there are no pictures. If I change https to http in settings/website URL, everything is fine. If I open thumbnail url: https://vashdom-kazan.ru/plugins/SpecialPagesExtras/thumb/?mode=image-field-thumb&img=https%3A%2F%2Fvashdom-kazan.ru%2Fdata%2Fuploads%2Fworks%2Fwrk9.jpg he says "Wrong path" UPDATE: Almost found the reason. The problem is in the validator.php file in function findImagePath ($url).
2018-06-05, 20:49:12
I've got the same error here.
Michał, do you have an idea how to fix this? Thank you in advance for your answer.
2018-06-05, 21:36:50
(2016-08-03, 04:04:03)orrollo Wrote: also, was fixed the code. changed SPEValidator.php: orrollo, this fixed the problem - thank you for that solution. :-)
2018-08-07, 23:42:03
(2015-03-11, 23:51:02)shawn_a Wrote: nono use foreach much easier to write and read, and faster then counting each iteration ( and your missing quotes ) Hello! I tried using this foreach snippet and it works just fine. But is there a way to also get the thumbnail for the image somehow? I would need something like this: $images = explode('||', get_special_field_image('image')); foreach($images as $image){ echo '<a href="'.$image.'"><img src="'.$thumbnail.'"></a>'; }
2018-08-10, 01:38:54
(This post was last modified: 2018-08-10, 01:43:54 by vanfruniken.)
(2018-08-07, 23:42:03)linden Wrote:(2015-03-11, 23:51:02)shawn_a Wrote: nono use foreach much easier to write and read, and faster then counting each iteration ( and your missing quotes )... As far as I can tell (GS 3.3.13), the thumbnails that I have in /GS/data/uploads/path-to-imageFile/$imageFileName are automatically generated, and they can be found in two sizes: as /GS/data/thumbs/path-to-imageFile/{'thumbnail.'$imageFileName} (200x200) and as /GS/data/thumbs/path-to-imageFile/{'thumbsm.'$imageFileName} (48x48) Up to you to generate the proper $thumbnail string for each $image. Probably better to store only 'path-to-imageFile/$imageFileName' in your special fields.
2018-08-11, 21:51:44
(2018-08-10, 01:38:54)vanfruniken Wrote:(2018-08-07, 23:42:03)linden Wrote:(2015-03-11, 23:51:02)shawn_a Wrote: nono use foreach much easier to write and read, and faster then counting each iteration ( and your missing quotes )... Thanks but i forgot to mention that i am using "Multi image field" and also I dont know PHP So I would greatly appreciate an example if anyone could help me.
2018-08-16, 18:57:04
(This post was last modified: 2018-08-16, 19:07:25 by vanfruniken.)
(2018-08-11, 21:51:44)linden Wrote: Thanks but i forgot to mention that i am using "Multi image field" and also I dont know PHP Let me rephrase more precisely, with proper php syntax: As far as I can tell (GS 3.3.13), thumbnails for each image, which should be located at $image = '/GS/data/' . 'uploads/' . $path_to_imageFile . $imageFileName are automatically generated in two sizes: - either (as 200x200) $thumbnail = '/GS/data/' . 'thumbs/' . $path_to_imageFile . 'thumbnail.' . $imageFileName - or (as 48x48) $thumbnail = '/GS/data/' . 'thumbs/' . $path_to_imageFile . 'thumbsm.' . $imageFileName Up to you to extract the proper $path_to_imageFile and $imageFileName for each $image from your "Multi image field". If you did store the complete $image in your "Multi image field", then $thumbnail can be derived from $image by - first replacing '/data/uploads/' with '/data/thumbs/' i.e., $partiallyFixedPath = str_replace('data/uploads/','data/thumbs',$image); and - also replacing $imageFileName with 'thumbnail.' . $imageFileName or 'thumbsm.' . $imageFileName i.e., $imageFileName = pathinfo($image)['basename']; $thumbnail = str_replace($imageFileName,'thumbnail.'.$imageFileName,$partiallyFixedPath); or $thumbnail = str_replace($imageFileName,'thumbsm.'.$imageFileName,$partiallyFixedPath); I am not myself fluent with the special fields plugins, so I can't help with that kind of details. Hope this helps. |
« Next Oldest | Next Newest »
|