Thursday, September 6, 2012

Re: [Rails] Image question

On Wed, Sep 5, 2012 at 10:20 PM, roelof <rwobben@hotmail.com> wrote:

> I mean that I choose the place for the image.
> So at all the places there is no fixed place for the image,
> See for examples :

Forget the examples; if you can't *describe* the outcome you want,
you can't program it.

Create a static web page with markup that demonstrates your result.
Then think about how you would create that page programmatically.

Hint: Is the image tag inserted at a random point? Or is it perhaps
inserted between paragraphs of the text? After a certain number of
characters/words?

If the location differs from post to post, then it would seem that the
image source and location within the text are both attributes of that
post, yes?

--
Hassan Schroeder ------------------------ hassan.schroeder@gmail.com
http://about.me/hassanschroeder
twitter: @hassan

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate