Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Ruby

Help - Resizing Images

Papeclip seems to be working fine, but the resizing by styles is not working. I've tried to trouble shoot this and not sure if it's an issue with the version or if there are other style conflicts, but you can see my code here:

https://github.com/mslawson/Treebook/commit/ade2e0c1cfd6bed9ff8529616612acbb7cf9eb8e

Any advice would be greatly appreciated!

Have you got ImageMagick installed?

I installed the RMagick gem (despite not seeing it in the course code).

I checked the files locally on the system and they're the proper size, so they're saving correctly, just not getting recalled properly.

1 Answer

I figured it out. It was a css issue. Somewhere in the course the classes have been modified.