def store_images   #:nodoc:
    # Skip this if there aren't any images.
    return if @images.array.empty?

    spid = @object_ids.spid

    @images.array.each_index do |i|
      @images.array[i].store_image_record(i, @images.array.size, charts_size, @filter_area.count, comments_size, spid)
      store_obj_image(i + 1)
    end

    @object_ids.spid = spid
  end
def store_images   #:nodoc:
    # Skip this if there aren't any images.
    return if @images.array.empty?

    spid = @object_ids.spid

    @images.array.each_index do |i|
      @images.array[i].store_image_record(i, @images.array.size, charts_size, @filter_area.count, comments_size, spid)
      store_obj_image(i + 1)
    end

    @object_ids.spid = spid
  end
Store the collections of records that make up images.