How to use a new gallery in the image field ?

More
3 years 7 months ago - 3 years 7 months ago #79271 by ggppdk
Hello

just now, i have solved some issues with it

- but there is a requirement for the image container to have a fixed size
this is not much of a problem , a small one can be used since pannellum panorama has a full screen button

- also The pannellum panorama does not support srcset for autoloading smaller preview and small panoramic images in mobile clients
(like we do in most of the other layouts)
meaning the same images will be loaded for both mobile and desktop clients

but the image field can handle this with extra coding
for now i will give the layout as is


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...
Last edit: 3 years 7 months ago by ggppdk.

Please Log in or Create an account to join the conversation.

More
3 years 7 months ago #79272 by lclaude
Hello,
You done a great job, and it help me a lot.
It works here. Thank you!!

Don't know if I understand the problem with srcset and image sizes...
I see we have a notice on lines 26, 27:
Code:
Notice: Undefined index: o in /var/lib/nethserver/vhost/demo/joomla1/plugins/flexicontent_fields/image/tmpl/value_gallery_pannellum.php on line 26

I have do some adjustments to tests and to suit my needs, please to take a look on my files.
Don't forget I'm not developer, you need to do a code revue before use. It work for me, but it's probably not coded in the right way.

File Attachment:

File Name: value_gall....php.txt
File Size:3 KB

File Attachment:

File Name: value_gall....xml.txt
File Size:3 KB

Laurent

Please Log in or Create an account to join the conversation.

More
3 years 7 months ago #79273 by ggppdk
Hello

do not use "original as thumbnail"

also it makes little benefit to use "original" as thumbnail
because you are forcing the loading of image as preview image slowing down initial page load
use medium or large as thumbnail

then the original is loaded when you click "load" inside the panorama box


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

More
3 years 7 months ago #79274 by ggppdk
Hello

i have sent you a PM


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

More
3 years 7 months ago #79288 by ggppdk
Hello

i have updated the layout with configuration for mobile
you can try the updated version


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

More
3 years 7 months ago #79292 by lclaude
Hello,

I have this error : please to see the attachment screenshot

Laurent
Attachments:

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.386 seconds
Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline