Comments (5)
Done, thanks!
from spree_product_zoom.
Apologize, but after further testing my solution for adding
Spree::ProductZoom::Config[:default_image_style] = :your-style
in config/initializers/spree_product_zoom.rb
did not work.
So how do you set default to something else??
from spree_product_zoom.
I am unsure why that isn't working. I know that you used to be able to do that with extensions in an initializer.
For now, you can try the following: https://gist.github.com/3948293 or set it via the rails console.
John Dyer
http://twitter.com/lbrapid
On Wednesday, October 24, 2012 at 2:49 PM, Jerrold Thompson wrote:
Apologize, but after further testing my solution for adding
Spree::ProductZoom::Config[:default_image_style] = :your-style
in config/initializers/spree_product_zoom.rb
did not work.
So how do you set default to something else??—
Reply to this email directly or view it on GitHub (#10 (comment)).
from spree_product_zoom.
I have stopped trying to get the jquery.fancybox.js v2.1.3 working correctly. Everything is perfect...
except the supposed zoomed images are only showing up thumbnail size. It could be because I could
not get the newer version of jquery-1.8.2 working with my existing scripts.
So, I have reverted to previous version of 1-1-stable, but using my customized section for changeIN,
changeOut, and next, prev.
Also, did not hear back about how to correctly set default size, so I just set that in the model.
All works great.
Thank you very much for a great extension!
Jet
from spree_product_zoom.
https://gist.github.com/3948293 shows how to set config in initializer.
from spree_product_zoom.
Related Issues (20)
- SystemStackError in Spree/products#show => After updating to latest spree Stable 1.2 HOT 3
- Not working after upgrade to latest spree 1.3-stable (1.3.3 beta) HOT 2
- NoMethodError when rendering product page with variants HOT 5
- zoom links to image rather than opening lightbox HOT 2
- out of date with spree, should create a 2-1-stable branch and bump master to 2.2.0.beta HOT 2
- Not work with spree_front_end and spree_fancy HOT 1
- Variant images not zooming HOT 4
- Zoom clicked image in gallery HOT 2
- In Spree-2.1 arrows are not shown in production
- Licensing of fancyBox HOT 2
- make it work with spree master HOT 1
- Spree 2.4 HOT 7
- Clicking on Image brings up dialogue box to download HOT 3
- Does this gem works with spree 3.0.0 HOT 1
- Does this gem works with Spree 3.1?
- CSS styles trampled after installing spree_product_zoom HOT 1
- Duplicate product image HOT 3
- uninitialized constant Spree::ProductZoomConfiguration (NameError) HOT 1
- Clicking on Image or zoom button always brings up the 'main' image HOT 13
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from spree_product_zoom.