How to use a new gallery in the image field ?

More
4 years 4 months ago - 4 years 3 months ago #79132 by lclaude
Hello,

I want to display panoramic images (like here : pannellum.org/ ).

I want to use the FC image field for upload my images, but I can't use it to display them because there is not the gallery to display in panoramic mode.
I found a Joomla plugin, UP by Lomart : up.lomart.fr/demo/action-image-pannellum
but I can't use it because the image field does not work with Joomla plugins.

Is there a way to use another field to retrieve path/filename of uploaded images with the FC image field, and to use joomla plugins with prefix/suffix values?
Or... is there a way to add pannellum in FC gallerys (I'm not a devellopper!!)?

Thanks by advance for your help.

Laurent
Last edit: 4 years 3 months ago by ggppdk.

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

More
4 years 4 months ago #79138 by ggppdk
Hello

any JS gallery can be added by
- creating a new layout for the field (PHP +XML files)

using joomla plugin is not optimal

because the layout file itself is creating the needed HMTL and loading the needed CSS and JS
trying to use a Joomla plugin would be too restrictive

it looks simple to duplicate an existing layout of the gallery field to create an new layout that loads the Pannellum JS viewer


-- 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
4 years 4 months ago #79155 by lclaude
I understand. Yes, to create a new layout is the good way to do it.
I think I'm able to do a copy of existing layout and customise it, but I don't know how to integrate pannellum files (js, css)... Is there a tuto somewhere?

Laurent

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

More
4 years 4 months ago #79157 by micker
hello
you need to load js and css via cdn
read this
pannellum.org/documentation/examples/simple-example/

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

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

More
4 years 4 months ago #79173 by ggppdk
Hello

i have created a new layout to see if the images can be loaded,
according to example here:
pannellum.org/documentation/examples/simple-example/

and it works

but i have not tested thumbnail creation yet.
If it works with thumbnail creation i think to include this layout


-- 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
4 years 4 months ago #79195 by lclaude
Hey, it's a great news!
Can you publish or send me your files, I'll can do tests to. And take a look on how to do a plugin.
regards

Laurent

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

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.981 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