onepica / imagecdn Goto Github PK
View Code? Open in Web Editor NEWOne Pica ImageCDN Magento extension
One Pica ImageCDN Magento extension
Using rackspace adapter..
On category pages and search result pages which are both the same template I get the below error.
I am not sure if this has to do with dynamic URL's or Gd2.php yet. I am no developer so any insight or breadcrumbs would be most appreciated.
#0 /chroot/home/america5/mysite.com/html/lib/Varien/Image/Adapter/Gd2.php(60): Varien_Image_Adapter_Gd2->_getCallback('create')
#1 /chroot/home/america5/mysite.com/html/lib/Varien/Image.php(70): Varien_Image_Adapter_Gd2->open('/chroot/home/am...')
#2 /chroot/home/america5/mysite.com/html/lib/Varien/Image.php(52): Varien_Image->open()
#3 /chroot/home/america5/mysite.com/html/app/design/frontend/default/galasupermarket/template/catalog/product/list.phtml(150): Varien_Image->__construct('/chroot/home/am...')
#4 /chroot/home/america5/mysite.com/html/app/code/core/Mage/Core/Block/Template.php(241): include('/chroot/home/am...')
#5 /chroot/home/america5/mysite.com/html/app/code/core/Mage/Core/Block/Template.php(272): Mage_Core_Block_Template->fetchView('frontend/defaul...')
#6 /chroot/home/america5/mysite.com/html/app/code/core/Mage/Core/Block/Template.php(286): Mage_Core_Block_Template->renderView()
#7 /chroot/home/america5/mysite.com/html/app/code/core/Mage/Core/Block/Abstract.php(919): Mage_Core_Block_Template->_toHtml()
#8 /chroot/home/america5/mysite.com/html/app/code/core/Mage/Core/Block/Abstract.php(637): Mage_Core_Block_Abstract->toHtml()
#9 /chroot/home/america5/mysite.com/html/app/code/core/Mage/Core/Block/Abstract.php(581): Mage_Core_Block_Abstract->_getChildHtml('search_result_l...', true)
#10 /chroot/home/america5/mysite.com/html/app/code/core/Mage/CatalogSearch/Block/Result.php(161): Mage_Core_Block_Abstract->getChildHtml('search_result_l...')
#11 /chroot/home/america5/mysite.com/html/app/design/frontend/base/default/template/catalogsearch/result.phtml(42): Mage_CatalogSearch_Block_Result->getProductListHtml()
#12 /chroot/home/america5/mysite.com/html/app/code/core/Mage/Core/Block/Template.php(241): include('/chroot/home/am...')
#13 /chroot/home/america5/mysite.com/html/app/code/core/Mage/Core/Block/Template.php(272): Mage_Core_Block_Template->fetchView('frontend/base/d...')
#14 /chroot/home/america5/mysite.com/html/app/code/core/Mage/Core/Block/Template.php(286): Mage_Core_Block_Template->renderView()
#15 /chroot/home/america5/mysite.com/html/app/code/core/Mage/Core/Block/Abstract.php(919): Mage_Core_Block_Template->_toHtml()
#16 /chroot/home/america5/mysite.com/html/app/code/core/Mage/Core/Block/Text/List.php(43): Mage_Core_Block_Abstract->toHtml()
#17 /chroot/home/america5/mysite.com/html/app/code/core/Mage/Core/Block/Abstract.php(919): Mage_Core_Block_Text_List->_toHtml()
#18 /chroot/home/america5/mysite.com/html/app/code/core/Mage/Core/Block/Abstract.php(637): Mage_Core_Block_Abstract->toHtml()
#19 /chroot/home/america5/mysite.com/html/app/code/core/Mage/Core/Block/Abstract.php(581): Mage_Core_Block_Abstract->_getChildHtml('content', true)
#20 /chroot/home/america5/mysite.com/html/app/code/local/EM/Themeframework/Helper/Theme.php(82): Mage_Core_Block_Abstract->getChildHtml('content')
#21 /chroot/home/america5/mysite.com/html/app/design/frontend/default/galasupermarket/template/page/2columns-left.phtml(47): EM_Themeframework_Helper_Theme->display(Object(Mage_Page_Block_Html), '2columns-left')
#22 /chroot/home/america5/mysite.com/html/app/code/core/Mage/Core/Block/Template.php(241): include('/chroot/home/am...')
#23 /chroot/home/america5/mysite.com/html/app/code/core/Mage/Core/Block/Template.php(272): Mage_Core_Block_Template->fetchView('frontend/defaul...')
#24 /chroot/home/america5/mysite.com/html/app/code/core/Mage/Core/Block/Template.php(286): Mage_Core_Block_Template->renderView()
#25 /chroot/home/america5/mysite.com/html/app/code/core/Mage/Core/Block/Abstract.php(919): Mage_Core_Block_Template->_toHtml()
#26 /chroot/home/america5/mysite.com/html/app/code/core/Mage/Core/Model/Layout.php(555): Mage_Core_Block_Abstract->toHtml()
#27 /chroot/home/america5/mysite.com/html/app/code/core/Mage/Core/Controller/Varien/Action.php(390): Mage_Core_Model_Layout->getOutput()
#28 /chroot/home/america5/mysite.com/html/app/code/core/Mage/CatalogSearch/controllers/ResultController.php(80): Mage_Core_Controller_Varien_Action->renderLayout()
#29 /chroot/home/america5/mysite.com/html/app/code/core/Mage/Core/Controller/Varien/Action.php(418): Mage_CatalogSearch_ResultController->indexAction()
#30 /chroot/home/america5/mysite.com/html/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(250): Mage_Core_Controller_Varien_Action->dispatch('index')
#31 /chroot/home/america5/mysite.com/html/app/code/core/Mage/Core/Controller/Varien/Front.php(172): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#32 /chroot/home/america5/mysite.com/html/app/code/core/Mage/Core/Model/App.php(354): Mage_Core_Controller_Varien_Front->dispatch()
#33 /chroot/home/america5/mysite.com/html/app/Mage.php(684): Mage_Core_Model_App->run(Array)
#34 /chroot/home/america5/mysite.com/html/index.php(87): Mage::run('', 'store')
#35 {main}
Without this, I am unable to upload to UK region.
On accessing the following URL I am thrown a 404 error with no other errors in the error log file or on the screen. This only seems to happen when I have an https protocol. If I turn off SSL I am able to view the configuration. This could be because I don't have a valid certificate but I would hope this module would still load otherwise I can't test on my local machine. I'm afraid to put this on my live site since signed in users are required to use SSL and checkout may fail to load the module.
I'm running Magento community 1.8.0.0.
Not sure how to fix that. A temporary workaround is to recreate the bucket in another region.
All of my JPG and PNG images are being uploaded to S3 with Content-Type: application/octet-stream
. I haven’t seen any documentation, configuration options, or missing dependencies to explain why $mimeTypes
is not matching my files.
Module version: 1.0.8
Magento EE 1.14.0.1
PHP FPM 5.5.18
Debian 7.6
nginx 1.6
What additional information would help diagnose this problem?
Currently the plugin seems to check the local disk before it checks the CDN. It would be great if it checked the CDN before the disk. That way when you have load balanced web servers you wouldnt need to have the source files on all servers.
Or, I acknowledge I could be doing something wrong :)
This extension does not work on Heroku.
We can see product/category images on front end as well as on back-end when we upload product/category images from Magento admin but after some time image URLs are broken on both the front/back-end side but we have those images on AWS S3 but not showing in Magento.
Please let us know the reason where images were gone from Magento.
Thanks
Inderjeet
Although this endpoint does use the US authentication it does not seem to wrk, think we need to set
curl -H "X-Auth-Token: $APITOKEN"https://storage101.hkg1.clouddrive.com/v1/MossoCloudFS_941887
I cannot find ANY info on how this works. I have installed it and setup Amazon S3. I then upload an image to the product and it is NOT uploading it to S3.
Is there any documentation on this? The forums are down and I cannot view anything on there.
With CloudFront you can set your origin to your domain, so a s3 bucket isn't entirely necessary. It might be an interesting thing to support.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.