More responsive images

More
4 years 1 month ago #79540 by tobajarrat
Hi @ all!

im looking to integrate a more responsive way to use the image thumbs sizes for different device sizes.

When I come to use a "lead-image" with a defined field as source (which provides rezised pictures), i can only set one image size to use in the displayed view (Category or Item).

A more responsive way would be to provide all thumbs including the thumbnail sizes to build a "srcset" of it.

I managed to insert any desired thumbnail size by using:
Code:
echo $img_field->thumbs_src['small'][0];
(maybe there is also an easier way to insert them) ,but to make it really responsive, I need at least to add the height and width of each.


I hope everybody can understand my poor explanation.
Im using latest Flexicontent and Joomla!
Thank you in advance!

Im using latest joomla and latest Flexicontent

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

More
4 years 1 month ago #79541 by ggppdk
Replied by ggppdk on topic More responsive images
Hello

The responsiveness is already implemented in most of the galleries
especially last 2 3.3.n version have updated elastislide and gallerific for this purpose

Furthermore the srcset is already set by almost all galleries
before trying to do a custom solution have you tried what is available ?


-- 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 3 weeks ago #79555 by tobajarrat
Replied by tobajarrat on topic More responsive images
Ok i got it.

I used the template option to insert an image (Featured items/Standart items), in this mode it will not insert srcset.

Using this image field in template positions will insert srcset.


Again, thank you for such a great component and promt and profound support.

Im using latest joomla and latest Flexicontent

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

More
4 years 3 weeks ago #79556 by micker
Replied by micker on topic More responsive images
yes feature and standar image are joomla field not flexiconetnt

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.

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