Re: Inserting photos


Jeremy Hughes
 

Hi Steve,

Graphics in Xway are more similar to pass-through graphics in Freeway than they are to non-pass-through graphics. Non-pass-through graphics (graphics in grey-outlined boxes) became something of a dead end in Freeway, because they’re inflexible. If you try to give them flexible widths, Freeway displays an “invalid value” alert. Non-pass-through graphics were great for table layout, but they weren’t great for flexible layouts.

It’s likely that future versions of Xway will be able to convert non-web graphics into web graphics, and it’s possible that we could also introduce cropping and rescaling options - but those aren’t things that we’re focused on at the moment because they’re not a core part of web layout. I don’t think we will ever reintroduce the Freeway dichotomy of pass-through graphics in grey boxes (which can’t be rescaled or cropped) and non-pass-through graphics in blue or green boxes (which can, but are inflexible in other ways). Another curious feature of Freeway’s approach to graphics was that you could choose to import a graphic as a pass-through or non-pass-through graphic, but you couldn’t convert either type of graphic into the other.

Xway graphics (and Freeway pass-through graphics) can be scaled through CSS. You can set a box to scale with its parent, and the graphic will appear smaller or larger depending on what device it is viewed on. It’s generally a good idea to use graphics that are about twice as large as the size at which they will be displayed - because they will look better on high-resolution screens. Of course, the size at which a flexible graphic is displayed can vary on different devices (e.g. larger in a desktop browser and smaller on a phone). One way that HTML/CSS provides for dealing with this is to allow for different graphics to be used for different viewing sizes - we may support that in a future version of Xway.

Jeremy

On 18 Dec 2019, at 09:52, Steve <steve@sbdesign.co.uk> wrote:

Hi Jeremy,

Will the resizing of photos/images in Xway be implemented in a future version or will all graphics have to be the size they are to appear in the browser?

Just trying to clarify this, on the site that I look after I have 22 pages of product images (1,640) that are all scaled to size in Freeway, this also keeps them all together in one place. These pages don't appear in the final site but are used to resize the images to fit in the space on the product pages.

As Geoff says having to have all images the correct size does seem a backward step, Freeway was very flexible in the way it treated images.

Having said that, from what I have seen so far Xway is very usable and has one of the best features of Freeway in that you can see the whole structure of your site in the site panel. This makes organising a site so much easier.

I look forward to the next beta...

Steve.

Join xway-talk@softpress.groups.io to automatically receive all group messages.