Skip to main content

Custom Image Field

6 years 8 months ago #316141 by Dan191272
Custom Image Field was created by Dan191272
-- HikaShop version -- : 4.2.2
-- Joomla version -- : 3.9.12
-- PHP version -- : 7.3.3
-- Browser(s) name and version -- : Chrome 80.0.3987.122
-- Error-message(debug-mod must be tuned on) -- : Custom image field not converting into image thumbnail size to applicable pages?

I tried to use the custom field Image field. Uploading is fine but is it possible to have a defined size for Customer Profile frontend page, customer list (admin), and the Customers page (admin)? Because right now, it displays the image as is. Wouldn't it be better if we can control the image size of corresponding pages such as converting the image into a thumbnail image, when necessary ? thanks

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

6 years 8 months ago #316145 by nicolas
Replied by nicolas on topic Custom Image Field
Hi,

One thing I would recommend is to use the "AJAX image" type instead of "image". It works much better.
Also, If you want to control the size of the displayed image, I would recommend adding CSS to restrict the width/height of the image where it is displayed. Now we do have such CSS but the image custom fields are mainly used as custom item fields (so that customers can upload images for their purchases) so we actually never checked its display in the areas you mention. We'll look into it for the next release of HikaShop.

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

6 years 8 months ago #316260 by Dan191272
Replied by Dan191272 on topic Custom Image Field
ok thank you. should be better if the image displays as thumbnail only on Listing page. thanks

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

6 years 8 months ago #316275 by nicolas
Replied by nicolas on topic Custom Image Field
Hi,

Yes, that's what I was planning to change for the next release of HikaShop in fact.

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

Time to create page: 0.065 seconds
Powered by Kunena Forum