When i edit layout.html i can see the following line of code

{{response.files.append(URL(request.application,'static','plugin_layouts/
layouts/Optimism/style.css'))}}

When i search farther down layout.html i can see the following code

<img src="images/img17.jpg" alt="" width="90" height="90" />

Now this image tag should display the image because it exists but in
the plugin layout the file path is this

/applications/template/static/plugin_layouts/layouts/Optimism/images/
img17.jpg

Now when creating a new application is it better to have the
following

static/layout_plugin/

in layout plugin  all the static files will go in the layout_plugin
directory.

Thanks for the help by the way.

On Feb 13, 9:14 pm, Massimo Di Pierro <massimo.dipie...@gmail.com>
wrote:
> Can you tell the layout name, an example of image url that you get and
> what should be?
>
> On Feb 13, 6:50 pm, stargate <kyoukh...@gmail.com> wrote:
>
> > I just created a new site with the wizard and the template Optimism.
> > When the wizard is completed and the site generated everything works
> > fine but all the images are broken.  I tried creating another
> > application with the wizard and the same thing all the images are
> > broken what would be the cause of this.

Reply via email to