Giter Club home page Giter Club logo

Comments (5)

LBRapid avatar LBRapid commented on August 28, 2024

Done, thanks!

from spree_product_zoom.

jetsgit avatar jetsgit commented on August 28, 2024

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.

LBRapid avatar LBRapid commented on August 28, 2024

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.

jetsgit avatar jetsgit commented on August 28, 2024

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.

LBRapid avatar LBRapid commented on August 28, 2024

https://gist.github.com/3948293 shows how to set config in initializer.

from spree_product_zoom.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.