Magento Expert Forum - Improve your Magento experience
-
How to import images from the same folder in which csv is located instead of /var/med
When I specify the image name in the image coloumn in csv file, it goes into /var/media to find it.
I want to import images from the same folder in which the csv is located i.e. when I write /image.jpg magento should look into the same folder as csv or it can be C:\imagefolder\image.jpg
I googled for some links. I came to know about this: http://www.blog.magepsycho.com/how-t...rl-in-magento/
This describes how to get images from an external image url. But how do I fetch images from the same folder?
I think I have to do something in app\code\core\Mage\Catalog\Model\Convert\Adapter\P roduct.php
at line 602
$imageFile = trim($importData['_media_image']);
$imageFile = ltrim($imageFile, DS);
$imageFilePath = Mage::getBaseDir('media') . DS . 'import' . DS . $imageFile;
But I am clueless if I should remove the Mage::getBaseDir('media') or do something else
View more threads in the same category:
- Transforming Karachi's Skylines with Fiber Shades
- Unveiling the Power of E911 Solutions Enhancing Caller Identification
- List of Top 10 Interior Designers in Pakistan
- buy registered drivers license online(legitcleandocs.com)passport,IELTS certific
- Malaysia Visit Visa from Dubai
- Buy Passport,Driver License,Age & ID Card,(Whatsapp:.......: +1 (551) 239-2904) Visas
- 슬롯사이트 추천 - 인터넷슬롯링크 2024 best 온라인슬롯
- Buy Passport,Driver License,Age & ID Card,(Whatsapp:.......: +1 (551) 239-2904) Visas
- Buy Passport,Driver License,Age & ID Card,Visas and Undetected Counterfeit Money. Ema
- Buy Passport,Driver License,Age & ID Card,(Whatsapp:.......: +1 (551) 239-2904) Visas
-
-
fda.csv Data on warning letters sent to doctors by the U.S. Food and Drug ... to refer to the full path for their location, and anything we save will be written to this folder.) Important: Object and variable names in R should not contain spaces. ... R session by selecting Import Dataset>From Text File in the Environment tab.
-
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks