Questions tagged [image]

Denotes questions about image processing, importing, upload and management.

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

How to display manufacture image with product in categories page?

I am working with magento 1.7. I added a manufacture image in my product and i wish to display it in the categories page with the list.
1
vote
1answer
3k views

Uploading images while uploading product programmatically on frontend

In my project, customer can upload their products from the user dashboard ( not from super admin dashboard). I have made a product upload form where customer can upload their product or items. I am ...
5
votes
3answers
3k views

How to debug: “HEADER ALREADY SENT” and GD2?

I have an annoying HEADER ALREADY SENT error in system.log. It is not easy to debug it, what I could do was to improve the logging to isolate the source of the issue (has described here): Cannot ...
3
votes
2answers
8k views

Magento WYSIWYG editor image upload not working [closed]

Hello EveryoneI have a problem with my WYSIWYG editor in magento admin. When I try to upload image or video, it processes the image. Then shows 100% upload complete message. After that nothing happens....
2
votes
1answer
2k views

wysiwyg in custom module, image links are incorrect

I have a custom module, where I want to add wysiwyg editor to field. I do it in this way: $fieldset->addField('submenu_html', 'editor', array( 'name' => 'submenu_html', ...
0
votes
2answers
1k views

Allowing users to upload images they want on the product at checkout

With the Magento site being built, users need to be able to upload their selected images for graphics on the product. I need to be able to offer, on checkout, an upload option which they can select ...
0
votes
1answer
175 views

Is it possible to have a customised Image URL Path?

We're in the middle of looking at the benefits of using Magento rather than Actinic/Sellerdeck, but one of the main problems we cannot find a way around so far is that we would need to keep our image ...
6
votes
1answer
2k views

Resizing any image in Magento

Magento has this great helper to resize product images but I'd like to resize any image from PHTML template files. Now I could use the Varien_Image (lib/Varien/Image) class but it doesn't implement ...
0
votes
1answer
3k views

Show Category Thumb Image on startpage

How can I show the thumb image from a category on the shops home page? I added a getThumbnailUrl function in app\code\local\Mage\Catalog\Model\category.php but I don't know how to call it with CMS ...
0
votes
1answer
283 views

Crop Images (category Image) on own templates

I create a new template in Magento. On that I'll get the Image-Output with this code. <div class="worlds-image"> <img src="<?php echo Mage::getBaseUrl('media').'catalog/category/'.$...
0
votes
1answer
201 views

Dynamic product images

Im trying to make product in specified category to have an overlay on its image, ex. "NEW/FRESH" on image. I can handle image change, but I have no idea how/where I can in-time change product image......
1
vote
1answer
21 views

Could there be a problem with using a product as an interface for a slideshow?

My client has a slideshow on their homepage and to make it easy for them to update it, I was thinking of making a slideshow 'product' where they upload the images and enter their corresponding urls as ...
2
votes
1answer
20k views

How to programatically import product and set images to default?

I am creating a simple product via code but struggling adding the images correctly. The product uploads fine and also the images too, which show ok on the frontend. But the radio buttons for base, ...
3
votes
6answers
16k views

Category Image / getImageUrl() is empty

In back end I can see the category has an image but if I try to show it in a template it is empty: $_category = Mage::registry('current_category'); $_imgUrl = $_category->getImageUrl(); Why ...
6
votes
1answer
2k views

How does gallery attribute work

I don't understand what the gallery attribute does? I've imported products and images. The images were imported into an attribute called gallery but they don't show up in the admin or on the front-end....
3
votes
3answers
17k views

How can I show a Category Image on my Product Page

I've built a new Page-Template in Magento. On this template I will show the Category-Image and after that, the product grid (as standard). How can I get the Category-Image for my Template? From my ...
1
vote
1answer
955 views

frontend_type in eav_attribute table

I am working on custom product upload form where sellers can upload their products. So i generated a form using the attribute sets which will give the related attributes, lable, type which is required ...
1
vote
4answers
603 views

Copying a slideshow

I want to copy my entire slideshow from my homepage, and replicate it on another page... The page is http://crystelleclothing.co.uk/ and i need it on http://crystelleclothing.co.uk/trends/ Tried ...
9
votes
3answers
49k views

How many different ways to insert image in magento cms page?

i tried to insert image with two different ways like through CMS pages in that select page and in content use below code: <p><img src="{{skin url='images/media/404_callout1.jpg'}}" alt="" /&...
4
votes
5answers
3k views

how to use retina product images?

How are you implementing Retina product images in Magento? I've seen a few commercial themes on the web doing it, but I'm not sure how. Using something like Retina.js hasn't worked either for both ...
-2
votes
1answer
1k views

Slider Images not Showing [closed]

I have a new site - http://crystelleclothing.co.uk/ and the slider images are not showing... I thought it might be an issue with a .htaccesss file in the Media folder, but there isn't one there... ...
2
votes
2answers
2k views

Magmi image import sets majority of product images, but not all [closed]

I've been using Magmi to do a mass import of both product data and then going over the product data to reference product images via SKU. I've been able to get Magmi to import product data without ...
4
votes
1answer
2k views

Find product without images and Product images without lable

After lots of try finally I manage to import bulk of products in magento. Now How I can do get SKU of product if: products without images. OR Images without lable. Thanks in advance
1
vote
2answers
1k views

what is field name for image sort order in CSV to import product from dataflow profile?

I want to upload import bulk images in magento. Each product has three images, so sort order of image is must while importing in bulk. But after a lot googling i didn't find field name for image ...
8
votes
1answer
207 views

Mage_Catalog_Model_Product_Image::_checkMemory

Looking at slow requests in newrelic for a product listing page the top function called was Mage_Catalog_Model_Product_Image::_checkMemory() which does a bunch of stuff like checking the ini settings ...
2
votes
1answer
248 views

Optimise PNG images

How can I optimize PNG images in Magento? The is already compression for jpg files, but no compression for png files in /lib/Varien/Image/Adapter/Gd2.php. Thanks a lot.
2
votes
1answer
1k views

How can I check if an image is already set against a product?

I am doing a product import routine and have images added to my product. The problem I have is that magento creates a dispretion path and then add's some numbers onto the end of my image file name to ...
3
votes
1answer
2k views

Switch Image Acording To Custom Options

I would like to be able to let my clients select the product they want using a thumbnail defined in Custom Options. If I have "White" selected in my dropdown menu. I would like the product image to ...
4
votes
2answers
4k views

Loaded product missing media_gallery attribute

I am loading a product like so: $product = Mage::getModel('catalog/product')->loadByAttribute('sku', 'MyStockCode'); Then I try to get the images using: $existingGallery = $product->...
0
votes
2answers
319 views

Re-assign Simple Prod. Images to the Configurable

I have this scenario: we are actually using a colors-watch ext. for configurable products. This extension works using the images that as been loaded in the associated simple prod. We need to ...
6
votes
2answers
9k views

Programmatically Update Image Labels

I'm trying to update my product images' labels. I want them to be the same as the name of the product. What I've tried $mediaModel = Mage::getModel("catalog/product_attribute_backend_media"); $...
4
votes
1answer
2k views

Transparent PNGs and Image Caching

We've recently started having issues where transparent PNG's are being cached with semi black backgrounds. Has anyone encountered similar issues? Some of the transparency is maintained, however some ...
1
vote
2answers
2k views

Magento when calling a static block's content via AJAX, images entered in CMS with {{ }} are not processed into their filename

I am trying to call a static block via AJAX. I can retrieve the text fine, however images are not processed from their {{ }} template format to the actual image path and come accross as they are ...
1
vote
1answer
3k views

Small_image not showing up

My media directory permissions is 755, all images are showing up on the frontend except those defined as small_image with the following code: <img src="<?php echo $this->helper('catalog/...
1
vote
3answers
3k views

Missing files in /media/ - help on how to write a script that will regenerate based on .htaccess call?

I performed a complete cache clean and discovered that this obliterates everything under /media/ (as noted by me below and later correctly observed by an answer, it is indeed just the cache that is ...
1
vote
1answer
2k views

Magento not creating images in 2nd store

I've just added a 2nd store to my Magento installation. Any new product that is uploaded to the backend only displays in the primary store and not in the 2nd one - While images for products that were ...
6
votes
3answers
14k views

Product Image Cache - Image Resizing

My question is about how and when images get created inside the product image cache. Specifically, if this code is executed: $imageTag ='<br><img src="'.Mage::helper('catalog/image')->...
0
votes
1answer
768 views

After add an image to product gallery, how to select that image as product image?

I add an image to product's image gallery with this code: // $filePath: image full path $mediaArray = array( "thumbnail" => $filePath, "small_image" => $filePath, "image" =&...
2
votes
1answer
1k views

How to upload image to “skin” directory (to use it in theme's CSS)

In the admin config section we can upload images to the "media" directory (see example below). But is there any way to upload images to the "skin" directory? For example to: skin/frontend/...
1
vote
2answers
3k views

Magento 1.7 Directory Separator returning wrong seperator

I'm trying to get a function working to re size any image using a custom module and helper class. For the record I'm running this on a local XAMPP server. If I pass a image url and a destination url ...
35
votes
4answers
33k views

Get original image file from a cache URL

Is there any function that given a cache image product file return the original one? Example : => Cache URL: {BASEURL}/media/catalog/product/cache/2/image/9df78eab33525d08d6e5fb8d27136e95/a/l/IMAGE....

1
13 14 15 16
17