Questions tagged [image-preview]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
12
votes
5answers
18k views

Magento 2: How to get resize image for Custom Module?

I'm using Magento 2 CE Version 2.1.0 I have Custom Module with Image Field. When it's uploaded, i want different size images as for product we have Thumbnail Image, List Image & Product Detail ...
8
votes
2answers
571 views

Unable to see the actual images in the back end

Magento 1.9.1 Porto theme We had to have our hosting company do a full restore. Now most things work except for when going into the images tab in the Admin panel: it shows the BROWSE FILES and ...
6
votes
1answer
3k views

Add Images in Magento Theme template file

I want to add image like footer.png in app/design/frontend/vendorname/themename/Magento_Theme/templates/html/footer.phtml Here I am adding image using <img src='<?php echo $this->...
1
vote
2answers
3k views

How to create more than one custom image uploader form in magento?

Here, I customized Magentostudy_news extension and create custom form in admin panel.When i create simple single image upload it working fine.but i need to add more then one image upload in custom ...
1
vote
1answer
734 views

MAGENTO 2 :- Fetch image from directory and display it on table

right now only image Name is displaying from database table not images <?php foreach ($_gridrecords as $_gridrecord): ?> <?php $employeeId=$_gridrecord->getEmployeeId() ?&...
1
vote
1answer
6k views

Field value in admin form not saving to database

This is what I'm trying to achieve as the end result by the way:- I think I may have just realised why $this->getImageHtml($model->getImgMain()) returns nothing. Is this meant to be getting the ...
0
votes
3answers
2k views

Image Preview in admin form magento 2

I have admin form in which I have image upload option, everything is working fine, but I am not able to figure out, how to display preview of uploaded image. It will be great help if someone can help ...
0
votes
0answers
41 views

How can I bulk change the sort of my images?

When I bulk upload images, all the images arranged according to the second images. How can I bulk update the images displayed based on the first image?
0
votes
1answer
226 views

restrict the lightbox image size to 1200 in product view page

please visit this link : http://demo.kidsdial.com/boys-toys/bikes-trikes-ride-ons/peacock-kinder-blocks-play-set.html click on "product image", you can see image ,image will expand with original size ...