image::resize_existing_images (private)

 image::resize_existing_images

Defined in packages/acs-content-repository/tcl/image-procs.tcl

Generate thumbnails for images already in the CR

Partial Call Graph (max 5 caller/called nodes):
%3 db_list db_list (public) image::get_convert_to_sizes image::get_convert_to_sizes (private) image::resize image::resize (public) image::resize_existing_images image::resize_existing_images image::resize_existing_images->db_list image::resize_existing_images->image::get_convert_to_sizes image::resize_existing_images->image::resize

Testcases:
No testcase defined.
Source code:
    foreach {size_name dimensions} [image::get_convert_to_sizes] {

        foreach item_id [db_list get_items {
            select item_id from cr_items
            where content_type='image' and latest_revision is not null
        }] {
        image::resize  -item_id $item_id  -size_name $size_name
        }
    }
XQL Not present:
PostgreSQL, Oracle
Generic XQL file:
packages/acs-content-repository/tcl/image-procs.xql

[ hide source ] | [ make this the default ]
Show another procedure: