Closed Sir-Seyop closed 8 months ago
I have no idea what SPpagebuilder 5 is but there is documentation on the site
@Sir-Seyop , have you managed how to achieve it? I've added: Component Name -> com_sppagebuilder Component Views - > article,content Component Database Columns - >text
I've added: Component Name -> com_sppagebuilder Component Views -> article,content Component Database Columns -> text
That should work
@dgrammatiko , thank you, but, hm, something is wrong :(
I did it like this:
img
but images are loaded without being processed.
Tried to debug the plugin here plugins\content\responsive\
with simple exit
statement, but it's also ignored...
External images will not be processed, the plugin works only on images stored on the server
It's a local images stored on my localhost, just the laragon
creates URL with .test
It's a local images stored on my localhost
Sorry didn't wrote that clearly: the plugin expects relative paths not absolute.
The same with relative path :(
What's the size of the image?
The png
is 200x200
Also, there is another jpg
which loads with relative path from the template folder: /templates/shaper_helixultimate/images/page_img/contacts/test.jpg
-> it's size is 610x687
The image is skipped because it's too small (200x200)...
Also, there is another jpg which loads with relative path from the template folder:
There's a problem with that path, it's only used on legacy templates. The plugin will never support the old templates (ie the ones that don't allow child templates).
You could probably edit the layout that echoes this image and follow the docs to allow responsive images to replace the tag: https://responsive-images.dgrammatiko.dev/documentation/layouts/
hm, I have bigger:
How is that image inserted? Was it part of the editor (ie tinyMCE) or using a field (ie like the into text image on the Joomla article edit form)?
The plugin will ONLY replace images that belong to an editor column in the database. For the field inserted images you need to edit the layout override and follow the docs: https://responsive-images.dgrammatiko.dev/documentation/layouts/
Builder uses it's own Add-Ons, or fields for input. How it's processed internally, honestly, I don't know.
So, it seems, that it won't work with it
Probably they're using layouts for each field. Even if that's not the case they probably using layouts for their pages so should be possible
Understood, thank you!
Hello, Can You explain how can i implement for SPpagebuilder 5? TY