Hi,
I have page_attachments installed and running on Radiant edge. I also
have MiniMagick installed. gem list shows:
mini_magick (1.2.0)
Manipulate images with minimal use of memory.
The tag works very well!
But in the Available Tags list, I can't see anything related to
generating a thumb
Thanks David,
At least I know it isn't just me now!
A couple of times I have found that uploading a "problem file" along
with another couple of files sometimes seems to help, no idea why
though. It doesn't seem to actually be a file specific problem as I have
had files that wouldn't upload one
In order to generate a thumbnail with MiniMagick, you need to set the
processor to :mini_magick. You can do this in the PageAttachments
model, just where it says "has_attachment".
I have written my own tags that allow you to access the thumbnails,
but these are currently not in page_attachme
Dave,
Here's some updated code that will work with 0.6. Keep in mind this
doesn't describe how to hook it up.
tag 'if_ancestor_or_self' do
page = tag.globals.actual_page
ancestors = page.ancestors
context_page = tag.locals.page
tag.expand if context_page == page || ancestors.include?(co
There's no specific support for thumbnails, other than being generated
to support the UI. They are 50x50 by default. Would a "thumbnail" tag
be helpful?
Sean
Jonathan Métillon wrote:
> Hi,
>
> I have page_attachments installed and running on Radiant edge. I also
> have MiniMagick installed. ge
Sharon and David,
On certain systems, I've had inconsistent success with uploads. The
crux of the matter seems to be that Ruby chooses, based on the file
size, whether to store the buffer in a StringIO or in a Tempfile. I
most often get errors with StringIO. Are the 'problem files' very smal
I solved it by writing an image tag with a "size" attribute. This
just passes a key to the public_filename in attachment_fu. Then I can
make and access any size I want using something like
with calls the image path
with "public_filename(:thumbnail)". This gives me a great deal of
flexibi
Awesome, Keith. I'll put that in the extension right away.
Sean
Keith Bingman wrote:
> I solved it by writing an image tag with a "size" attribute. This
> just passes a key to the public_filename in attachment_fu. Then I can
> make and access any size I want using something like
> with ca
If you would like, I can send you the code I have.
Keith Bingman
Tel: +49-7731-79838380
[EMAIL PROTECTED]
http://keithbingman.com
On Jun 6, 2007, at 2:41 PM, Sean Cribbs wrote:
> Awesome, Keith. I'll put that in the extension right away.
>
> Sean
>
> Keith Bingman wrote:
>> I solved it by wr
I forgot, I did something similar on the link tag, so that you can
make links to specific image sizes as well. I don't use this one
much, but it is good for embedding light box images in blog posts and
such. Like this: /http://bitchkittyracing.com/articles/keiths-visit-
days-0-1/
Keith Bing
I have a plugin that gives you tags that you need to make nested
navigation:
http://svn.artofmission.com/svn/plugins/radiant/plugins/navigation_tags/
On Jun 6, 2007, at 7:25 AM, Sean Cribbs wrote:
> Dave,
>
> Here's some updated code that will work with 0.6. Keep in mind this
> doesn't descri
On 6/5/07, Oliver Baltzer <[EMAIL PROTECTED]> wrote:
> On 05/06/07 01:23 PM, Keith Bingman was heard to say:
> > What are the core plans for a new image manager? I have one I wrote,
> > there is Sean's and then the Gallery extension, but it seems like
> > there should be some sort of official plugi
Here's a post on the Minneapolis Craigslist gigs board:
http://minneapolis.craigslist.org/web/345391051.html
It looks like a perfect fit for someone with some mad Radiant skillz...
which I do not have just yet.
I only know what's there in the post.
Chris
___
Sean Cribbs wrote:
> Are the 'problem files' very small (i.e. under 10k)?
My problem file is a 1.1 MB pdf. It is happening when running Radiant in
development mode in Mongrel on localhost Mac OS 10.5.
--
Posted via http://www.ruby-forum.com/.
___
Radi
FYI, page_attachments allows you to upload multiple files of the same
filename to page(s) in the same page/child scope. While this is not a
problem when storing the files (because of the nested folder structure),
it is a problem when trying to access the files. Example:
//0001/myfile.pdf
/0
David Piehler wrote:
> FYI, page_attachments allows you to upload multiple files of the same
> filename to page(s) in the same page/child scope. While this is not a
> problem when storing the files (because of the nested folder structure),
> it is a problem when trying to access the files. Examp
Greetings,
I am please to announced that I recenly came into possession of some
extra free time. And would like to tell you all about what I've been
up to with Radiant.
The Short Story:
demo: http://demo.kupenda.org/admin (user/pw = demo/radiant)
svn: http://208.78.96.155/svn/radiant_kup
I'm try to set up default Radiant install but am running into trouble
during rake db:bootstrap. I've found two postings from people who are
getting the same error I am, which is:
Mysql::Error: Table 'radiant.users' doesn't exist: SHOW FIELDS FROM users
My development.log shows no attempt to creat
Ahh, I see the problem. Radiant creates the rails project, running
"rails " on top of radiant causes things to break down.
The instructions on the site say
"From the root directory of your rails application, unpack the radiant
files by executing the radiant command:"
I just assumed a "rails appli
David Piehler wrote:
> Sean Cribbs wrote:
>> Are the 'problem files' very small (i.e. under 10k)?
>
> My problem file is a 1.1 MB pdf. It is happening when running Radiant in
> development mode in Mongrel on localhost Mac OS 10.5.
Just ran into the same issue on another page. 8 out of 12 PDF fil
On 06/06/07 04:39 PM, Jacob Burkhart was heard to say:
> Thus, 2 new pages types:
> TemplatePage -- a page that can be used for the basis of creating new
> pages
> ContentFromTemplatePage -- a page created by a Content Author
> based on a TemplatePage, pre-populated with all the needed par
Hi People!
This is my first post here. I'm new in ruby on rails, radiant and other
stuff.
I need to display a page for each user with custom content; the users must
be authenticated and can not change the content, just a few things like
email, password and other things. I guess there can be a page
22 matches
Mail list logo