Questions tagged [media]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
2answers
118 views

Backup of Media

Recently had an issue with magento after doing a JS and CSS compression, which caused a few issues. Nothing to major except for the fact that product images were missing from the catalog. No big ...
1
vote
2answers
1k views

Skip main image in “more views” without using exclude

I want to skip the base image from "More Views" - I know this can be done by exclding the image, but I have 20k+ products, alot of them with multiple pictures. I've tried to skip the first product ...
2
votes
1answer
458 views

How to set an image which is already on the server as product image

Is there a way to select images from the servers media storage (exactly like when editing the content of a CMS page and hitting "insert image...") as product image? Unfortunately we only found the ...
0
votes
1answer
80 views

Upgraded server to PHP 5.3.28 and Images stopped working

We upgraded the server to PHP 5.2.28 (Rackspace) and suddenly our full size images stopped working. By stop working I mean it did not render and the page load stopped at the point of the full size ...
1
vote
1answer
1k views

Set product image using custom code in magento

i want to set the product image from my folder.For that i am doing like this but no luck. $image = Mage::getBaseDir('media') . DS ."users/a.jpg"; $product = Mage::getModel('catalog/product')->...
1
vote
1answer
186 views

Multiple path for Base Media URL [duplicate]

I want to load my media/images from multiple cdn path to decrease the download time of my category/product pages. Currently there is only one field to enter the base media url. Any plugin or any ...
2
votes
0answers
403 views

Clone/Duplicate product image gallery [closed]

I'd like to "clone" the image gallery from product A to a product B. And with "clone" I mean with all mediaattributes and basically all what is related to the images in the gallery (position, image ...
1
vote
1answer
4k views

Accessing files at media directory

I uploaded additional files for products. They get stored in media folder in Magento root directory. How can I access files stored at media folder in Magento root folder? Should I use a method for ...
12
votes
4answers
4k views

Why was get.php and/or `core/file_storage_database` Created?

Since around version 1.5 or 1.6, Magento's had a file in the root folder named get.php. This file, using the core/file_storage_data model, allows Magento system owners to serve their product media ...
1
vote
1answer
4k views

Get full size and resized images in the same loop in media.phtml [duplicate]

I'm working with the new Magento default responsive theme (RWD). On product view page I need to get the url of full size dimensions images. In catalog/product/view/media.phtml I find <?php ...
1
vote
1answer
4k views

Image not uploaded

I am using Magento Version 1.9.0.1. When I tried to upload an image for a product I get below error. I tried reinstalling Magento, but that didn't work. Please help me to identify the problem and ...
1
vote
1answer
328 views

Import product with media/catalog/product folder

We have 2 servers. Some changes made in the product name, category changes and custom_options in the first server. So we need to import the products with images in the second server which is exported ...
0
votes
1answer
77 views

Magento prepends script sources with document root after transfer

I have moved my Magento install from one server to another, and everything seemed to go smoothly, but i am left with an issue... Any and all scripts that are attempted to be loaded in (both frontend ...
0
votes
2answers
115 views

When do pictures of products get resized? How long do they stay there?

I've got pictures of some products in the folder: media/catalog/product/cache/2/small_image/168x168/9df78eab33525d08d6e5fb8d27136e95 But actually not all of them. That size would exactly fit for a ...
2
votes
1answer
2k views

The media uploader is not working properly? [closed]

This question already has an answer here: Magento - Upload HTTP Error I am following this thread for setting the media uploader for uploading multiple images like image upload in product images. I ...
1
vote
1answer
3k views

Missing wysiwyg folder in magento

When I try to upload some images on cms->pages in wysiwyg redactor I get an error The directory is not writable by server. I have already explored this error caused because of media->wysiwyg folder ...
3
votes
2answers
1k views

Sorting the images at “More Views” on product pages

I'd like to change the sorting of the images a product has. To achieve this I have typed the order beginning with 0 and up to 6 in the product's image settings. However, even by clearing several ...
0
votes
1answer
3k views

Full images in media.phtml

I've this code on template/default/catalog/product/view/media.phtml page. I want to retrieve full size gallery images to display here in li's under ul's. The problem is that with this code, i'm ...
5
votes
2answers
21k views

Magento's Secure/Unsecure Image Link - Link Securely for Secure Pages only

I have installed an SSL certificate on my site but have found that when using this image source address: <img src="{{media url='wysiwyg/infortis/ultimo/menu/featured2.jpg'}}" I receive an error ...
1
vote
3answers
4k views

magento backend can't upload images when media is on cdn

i've setup magento CE 1.7.0.2 on a webserver nginx on 12.04 ubuntu cloud server. i've change configuration in order to use cdn for media, skin and js but i have some issues. for instance i can't ...
14
votes
2answers
24k views

Equivalent of the CMS Directive {{media url=“…”}} in Normal Block Templates

What is the equivalent of {{media url="wysiwyg/image.jpg"}} which can be used in CMS pages if we want to use this in a normal .phtml file (of the type core/template)
0
votes
2answers
857 views

Every store have their own media folder?

I have a code in Magento that I want to overwrite. Code can be found in /app/code/core/Mage/Core/Model/Config/Options.php: The code goes something like this : protected function _construct() { .....
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 ...
0
votes
3answers
1k views

Extension for photo gallery and slider

I've looked at a few extensions out there but most are overkill or don't quite fit. Keen to create a simple extension instead if someone wants to point the way. Admin interface to easily add photos ...
2
votes
2answers
1k views

Can I use another database for media_storage?

While you can only use MySQL for the main Magento database, you can use Redis and Memcached for fast cache and session storage. This is particularly useful for cluster systems. So what about for ...
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
1answer
450 views

CRUD Module - Add Preview Link to Edit View of Uploaded Media

I have created a module to upload PDFs, its a basic CRUD module. My question is, how can I add a link to the Edit view so that the user can preview the media that is attached to the row being edited?...
5
votes
2answers
3k views

Magento media folder and multiple web servers

For all the Magento people running multiple web servers, how do you handle media folder? NFS each server has its own media folder and keep it in sync (lsyncd?) other "smarter" fs (glusterfs) other
21
votes
6answers
22k views

Magento Media Assets in Amazon S3

I was asked how to save all the magento media assets in Amazon S3. I thought about using a PHP Stream Wrapper like this one: https://github.com/punkave/aS3StreamWrapper and just set the media folder ...

1 2 3
4