Refreshing/updating images manually

Build 1501 on 14/Nov/2017  This topic last edited on: 8/May/2017, at 10:01

On a layer of a page in Fred4, opened for editing, select one or more dummy images, or images marked by Fred4 as "to be updated", e.g. containing a cross and the "+" suffix of the name.

On the Images menu, select Update Selected Image, or Update All Images.

This will update selected booked or "to-be-updated" images only if the dimensions of the real images are exactly the same as the dimensions of the booked image boxes. Should you want this command to include some tolerance, see the notes below.

_noteNotes

ImgUpdate will not function if you are trying to update images on a read-only layer. e.g. on the Ads layer.

The Update command on the Images menu calls the Fred4 system script ImgUpdate. It contains the command Fred4.ImgUpdate 0,true. The parameters mean 0% of tolerance, and isotropic resizing turned on. Please note that the values, specified in versions 2.3 or newer in EdAdmin4 > Typographies > typography > ImageHandle or in versions prior to 2.3 under Tolerance under Automatic refresh (on the Options > Preferences) may be different, but these are ignored as the used values are hard-coded in the script.

Should you want to specify some tolerance, and/or exclude isotropic, create a user script that will call the same command Fred4.ImgUpdate but with different parameters, e.g. Fred4.ImgUpdate 10,false, that applies 10% of tolerance and non-isotropic resizing.