Skip to content
This repository has been archived by the owner on Dec 28, 2018. It is now read-only.

Tried to follow instructions for basic example; got error I don't understand. #1

Open
rfrankel opened this issue Nov 1, 2013 · 1 comment

Comments

@rfrankel
Copy link

rfrankel commented Nov 1, 2013

I tried following the basic instructions:
I downloaded the gem, added a section to config.rb:

activate :clowncar
generate_clowncar "StrongLevPics"

and added two graduated sized images in a subdirectory of a subdirectory of img:
$ ls source/img/StrongLevPics/PushingCart
_MG_8429.jpg _MG_8429_sm.jpg

I got an error during the build:
error build/rebecca/img/StrongLevPics.svg
Not found

I don't even understand this error --- why would it complain about a directory or file not found under build? Isn't it supposed to make all the files under build itself?

I was worried about my image directory being named "img" and not "images". But that's not what it (apparently) complained about. Then again, I don't understand the error message.

More generally, I want to know what to do if I have my images somewhere other than "images." Specifically, I'd like to have most of them in subdirectories associated with blog posts, as suggested in the blog documentation.

thanks for writing this gem. It looks like a great convenience (if I can ever get it to work!)

thanks, Rebecca

@rfrankel
Copy link
Author

rfrankel commented Nov 4, 2013

I also tried the remote image API:

activate :clowncar
generate_clowncar "GoldenLeaves", :width => 213, :height => 320, :sizes => { 213 => "//www.flickr.com/photos/rifkele/5036374686/sizes/n/in/set-72157625059678374/", 427 => "//www.flickr.com/photos/rifkele/5036374686/sizes/z/in/set-72157625059678374/", 683 => "//www.flickr.com/photos/rifkele/5036374686/sizes/l/in/set-72157625059678374/"}

and still got the error:
error build/rebecca/img/GoldenLeaves.svg
Not found

which is even more surprising because this doesn't pull anything from the image directory at all --- so what isn't found?

I should also note that my config.rb renamed the default images directory:
set :images_dir, 'img'

but just to see if that was the problem I changed it temporarily to 'images' but still got the error:
error build/rebecca/images/GoldenLeaves.svg
Not found

What isn't found? the file? the directory? I am very confused by this message.

thanks,

Rebecca

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant