diff --git a/LICENSE b/LICENSE deleted file mode 100644 index 5800638..0000000 --- a/LICENSE +++ /dev/null @@ -1,23 +0,0 @@ -Redistribution and use in source and binary forms, with or without modification, -are permitted provided that the following conditions are met: - - * Redistributions of source code must retain the above copyright notice, - this list of conditions and the following disclaimer. - * Redistributions in binary form must reproduce the above copyright notice, - this list of conditions and the following disclaimer in the documentation - and/or other materials provided with the distribution. - * Neither the name of the Rails Dog LLC nor the names of its - contributors may be used to endorse or promote products derived from this - software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR -CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. \ No newline at end of file diff --git a/README.markdown b/README.markdown deleted file mode 100644 index 77a57f7..0000000 --- a/README.markdown +++ /dev/null @@ -1,24 +0,0 @@ -# Facebox - -This is an extension for Spree, allowing to show zoomed product images to the customer: - -It's based on Facebox: -http://github.com/defunkt/facebox - -A lot of code was taken from this project: -http://github.com/eliotsykes/spree-zoom-photos - -# Installation -Installation is quite simple (from the spree app root): -
-script/extension install git://github.com/Antiarchitect/spree-facebox.git -- -# Consequences -New extra large image size of 1000x1000. So when new image uploaded on server it will have a 1000x1000 size in addition to default sizes, old images will not. -I think there is the way to generate extra large size of them through rake (unconfirmed). - -# TODO -Navigation between images from the facebox window - -All wishes, suggestions and improvements are welcome! \ No newline at end of file diff --git a/app/views/products/_image.html.erb b/app/views/products/_image.html.erb deleted file mode 100644 index 6dcd1f3..0000000 --- a/app/views/products/_image.html.erb +++ /dev/null @@ -1,7 +0,0 @@ -
' + link_to('Back to products', products_path) + '
' - # end - # - # adding a new tab to the admin navigation - # - # insert_after :admin_tabs do - # tab(:taxonomies) - # end - # - -end diff --git a/lib/tasks/facebox_extension_tasks.rake b/lib/tasks/facebox_extension_tasks.rake deleted file mode 100644 index 2ab2134..0000000 --- a/lib/tasks/facebox_extension_tasks.rake +++ /dev/null @@ -1,17 +0,0 @@ -namespace :spree do - namespace :extensions do - namespace :facebox do - desc "Copies public assets of the Facebox to the instance public/ directory." - task :update => :environment do - is_svn_git_or_dir = proc {|path| path =~ /\.svn/ || path =~ /\.git/ || File.directory?(path) } - Dir[FaceboxExtension.root + "/public/**/*"].reject(&is_svn_git_or_dir).each do |file| - path = file.sub(FaceboxExtension.root, '') - directory = File.dirname(path) - puts "Copying #{path}..." - mkdir_p RAILS_ROOT + directory - cp file, RAILS_ROOT + path - end - end - end - end -end \ No newline at end of file diff --git a/public/images/b.png b/public/images/b.png deleted file mode 100644 index f184e62..0000000 Binary files a/public/images/b.png and /dev/null differ diff --git a/public/images/closelabel.gif b/public/images/closelabel.gif deleted file mode 100755 index 87b4f8b..0000000 Binary files a/public/images/closelabel.gif and /dev/null differ diff --git a/public/images/closelabel_ru.gif b/public/images/closelabel_ru.gif deleted file mode 100755 index 7339ec9..0000000 Binary files a/public/images/closelabel_ru.gif and /dev/null differ diff --git a/public/images/fbx-border-sprite.png b/public/images/fbx-border-sprite.png deleted file mode 100644 index dc7a999..0000000 Binary files a/public/images/fbx-border-sprite.png and /dev/null differ diff --git a/public/images/loading.gif b/public/images/loading.gif deleted file mode 100755 index f864d5f..0000000 Binary files a/public/images/loading.gif and /dev/null differ diff --git a/public/images/shadow.gif b/public/images/shadow.gif deleted file mode 100644 index e58b35b..0000000 Binary files a/public/images/shadow.gif and /dev/null differ diff --git a/public/stylesheets/product.css b/public/stylesheets/product.css deleted file mode 100644 index d5737e2..0000000 --- a/public/stylesheets/product.css +++ /dev/null @@ -1,13 +0,0 @@ -#product-images { - display: inline; - float: left; - width: 250px; - margin-right: 10px; -} - -#product-images .product-image { - margin-top: 15px; - float: right; - position: relative; -} -