How to use a new gallery in the image field ?

More
5 years 5 months ago - 5 years 5 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 review. Thanks!
Last edit: 5 years 5 months ago by ggppdk.

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

More
5 years 5 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.25 KB

File Attachment:

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

Laurent

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

More
5 years 5 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 review. Thanks!

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

More
5 years 5 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 review. Thanks!

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

More
5 years 5 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 review. Thanks!

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

More
5 years 5 months ago #79292 by lclaude
Hello,

I have this error : please to see the attachment screenshot

Laurent

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

More
5 years 5 months ago #79293 by ggppdk
Hello

hhmm, the layout was built for FC v3.4.0 branch

i have committed a fix to v3.3.n branch


-- 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 review. Thanks!

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

More
5 years 5 months ago #79294 by lclaude
Thanks, now it works.
I'll test with more details that in few days.

Laurent

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

More
5 years 4 months ago #79346 by lclaude
Hi!

Sorry for the delay, I was very busy. Here is my feedback:

Ok I understood the choice of thubnails. It's cool !

Actually when You clic on 'load' it's not the original picture wich is loaded but the thumbnail, I think You have to change this line :
"panorama": "' . JUri::root(true).'/'.$src . '",
by this one :
"panorama": "' . JUri::root(true).'/'.$srco . '",

Can't understand why there is settings for tablet and mobile *in the desktop tab*
There is not parameters in the Mobile tab
How does it work to have settings in the Mobile tab? Must we create another .xml or add a new section in the existing one?

In the div id="panorama_' I add display: inline-flex; in the style, in order to display multiple panoramas on a single line.

Regards,

Laurent

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

More
5 years 4 months ago - 5 years 4 months ago #79349 by ggppdk
Hello
regarding your 2 points

1.

Can't understand why there is settings for tablet and mobile *in the desktop tab*


because
-- "Desktop" and "Mobile" Tab load the (XML) configuration file of some gallery
e.g. fancybox gallery parameters, e.g. gallerific gallery parameters

Meaning that the "Desktop" and "Mobile" Tab are loading the full XML file


2. About changing
Code:
"panorama": "' . JUri::root(true).'/'.$src . '",
to
Code:
"panorama": "' . JUri::root(true).'/'.$srco . '",

yes, it should be $srco
($src is meant for the preview: setting)

i have committed the fix


-- 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 review. Thanks!
Last edit: 5 years 4 months ago by ggppdk.

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

Moderators: vistamediajoomlacornerggppdk
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
Save