Episode #125 of the Stack Overflow podcast is here. We talk Tilde Club and mechanical keyboards. Listen now

Questions tagged [image-preview]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2
votes
2answers
1k views

Ui form: Edit functionality: Image Preview in magento 2

I have created Ui form. In that, I have uploaded a image which is also saved in DB and shows preview in admingrid. It shows image preview for a new action But it is failed to show image preview and ...
2
votes
1answer
2k views

Custom Category Image Attribute Preview

I've created a custom image attribute for the category. The image will be saved in media/catalog/category/example location. When I upload the image, preview showing as a broken image even though ...
0
votes
0answers
110 views

Magento 2: Image not uploading in UI form "Attention: File was not uploaded”

I have created a custom form using Ui_Component,facing problem during image upload. I am using 2 column left layout ie, tab structure. https://prnt.sc/nouwe5 When I try to upload the image it shows ...
8
votes
2answers
567 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 ...
1
vote
0answers
166 views

Magento 2 How to display placeholder image to image preview backend UI component form

In my custom module i have custom UI component form and i add file upload filed to this form. Form is working fine while Add or Edit, when upload file image preview is display,but i want to display ...
12
votes
5answers
17k 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 ...
1
vote
0answers
185 views

I have an Issue with “Use Product Image for Swatch if Possible” in magento 2.2

I have an issue with swatch image URL on product detail page. You can check this link for color attribute. Swatch Image url is : ` pub/media/catalog/product\cache\f307e558402b572df42bba27be68d88b//...
1
vote
3answers
5k views

How to change product image on hover?

I am trying to change Image on Hover in all product. Any help regarding this.It's not about product placeholder. Problem is that I am not able to get another type of image. product_page_large_image ...
0
votes
0answers
1k views

In magento 2 , while uploading a image ,where the image will be saved temporarily

I have created UI-component form.In that, I have more than 1 image fields while uploading an image where I need to check whether the image is saved in a temporary directory or not? Noe the image is ...
2
votes
1answer
2k views

How to configure a 360 degree view to Product images?

I have to create a store with Products having 180 as well as 360 Degree View. I had gone through many extensions like magic 360 and many more but Cant find anything relevant. I wish to use the free ...
1
vote
1answer
546 views

Magento 2 Image upload on CMS page

<field name="page_image"> <argument name="data" xsi:type="array"> <item name="config" xsi:type="array"> <item name="dataType" xsi:type="string">image&...
1
vote
1answer
704 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() ?&...
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 ...
1
vote
1answer
525 views

Magento 2 : How to change default path of a Field of type “image”?

How to change image path of a Field of type "image" ? In my custom module adminhtml form I am using field as type "image" to show thum image. I want to change the default path of this thum and want ...
0
votes
3answers
4k views

delete uploaded image in custom module

UPDATE I'm updating the question as I solved one of the problem in this question. The original question is below the line. I'm now able to see the preview of the image as the problem was with the ...
0
votes
1answer
236 views

No Images Showing Anymore!

Ok so everything was fine and dandy on my machine yesterday, that is until I updated my magento to 1.9.3 and applied the security patch. Since then my images no longer show on the front or back end. ...
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->...
2
votes
0answers
666 views

Image Thumbnail not showing in Magento 2.1 admin panel

Im working on a custom module in magento 2.1 which has category attribute to upload thumbnail image from Dashboard>Products>Categories . When i try to upload an image, the preview is shown and the ...
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?
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
2answers
3k views

How to preview uploaded image in custom module form

I am learning Magento and trying to make a module to manage Chefs in a Restaurant. I created an upload button to upload image and it works (images save in directory, file name saved in database). ...
0
votes
1answer
24 views

Image not visible from Back-end

When i upload images, its fine to look frond end, but it does not appear in the backend.
-1
votes
1answer
133 views

Product image does not display correctly

Somehow the product image of our shop does not display correctly, normally the image is enlarged when you mouse over it, somehow only the top left enlarges and there is no way to look at the rest of ...
0
votes
2answers
5k views

Remove Static Block or Banner Widget through Custom Layout Update

All of the product category pages in our store are two column (nav left) format. One of our categories needs to have an element in the left hand column removed. Every single other page that has this ...
1
vote
2answers
740 views

image preview not loading in backend after SUPEE patches

I just updated my magento 1.7.0.2 store to the latest SUPEE patches and shortly after when I was adding a new product to my site I found that something was wrong. When I upload a new image the jpg/...
0
votes
2answers
130 views

Magento problem accessing image file

im having an unusual problem when i try to access a saved file. i am saving an image to the media folder where i have created another floder called customers. the folder is set to 775. when i add an ...
1
vote
1answer
2k views

How to update media_gallery attribute

Is there anyway that I can update the media_gallery attribute of a product? I do have an array of data for media_gallery like this... { ["sku"] => string(4) "8676" ["media_gallery"] => ...
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
2answers
892 views

CMS Image preview not working an internal demo site

I have a local demo website which is protected by a .htaccess to showcase to the customer. Anyways, in this installation the image preview in the CMS WYSIWYG editor is not working. In the system.log ...
1
vote
2answers
2k views

optimization view: magento scales down images to the proper size, what if we have large images,can it hurt the website?

Suppose that our thumbnail image is 1000x1000 pixel although it should be 133x100 pixel, magento automatically will re-size it and show the re-sized image on the page, I know that it can slow down the ...
0
votes
1answer
772 views

How to use “img” tag in a “phtml” file?

I'm trying to display an image from a phtml file. The following doesn't work. <?php <img src="<?php echo $adress ;?>" /> ?> Could you help me ?
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 ...
2
votes
1answer
926 views

getImage by Label not working in Bundle item

I want to get the image by its label, inside a bundle product's each options selection item. Each selection item is a simple product. echo Mage::getModel('catalog/product')->load($product_id) ...
0
votes
1answer
166 views

How to preview custom page in magento for mouseover?

I have a custom page named mywallet.phtml. I have a button named named mywallet. I want to preview the custom page when i hover the mouse on mywallet. What do i need to do? I am new to magento. ...
2
votes
3answers
119 views

Small Images on site appear in reverse order

I upload a .csv file to magento that looks like: When the small_image appear on the website, for whatever reason, the final picture is the one being displayed. I was able to navigate using the GUI ...
2
votes
2answers
861 views

Product image cache resized

Where can I define the size of the product image cache? Our product-image in product image cache now automatically will be scaled down from 1900 pixels to 600 pixels. But I want to keep the original ...
1
vote
1answer
742 views

Product custom image option with preview

I am building a system where a customer can upload a image to a product and that image will then be printed onto the product. I have found out how to do this using a field custom option easily enough. ...
0
votes
2answers
103 views

How can I preview changes to design or to blocks?

lets say i add new blocks to the home page. or change some other things. how can I let other people preview it before releasing? any extension or is it built in? thanks much
0
votes
0answers
18 views

Magento Custom Option [duplicate]

I am using file uploading for image upload in magento. If customer giving order and upload image for engrave product where can i get image which uploaded by customer. or how can i able to print or ...
2
votes
3answers
1k views

How can i make the preview image bigger?

I am making a module that will pretty much do the same with the catalog->product manager do. In my module i need to upload an image.Everything is fine so far.The problem is that i can't find a way ...
1
vote
1answer
2k views

How to get product image by position

At the moment I'm using the following code to get the image by position. Is there an easiest way to do that? <?php $imgFile = $imgLabel = ""; $imagens = Mage::getModel('catalog/product')->load(...
2
votes
1answer
90 views

Generating preview images of style x fabric x color

I am looking into rendering preview images of products (furniture) automatically. For a furniture webshop it is impossible to manually take pictures of all possible combinations of style, fabric and ...