{footer_script}{literal} jQuery(document).ready(function(){ function toggleResizeFields(prefix) { var checkbox = jQuery("#"+prefix+"_resize"); var needToggle = jQuery("input[name^="+prefix+"_]").not(checkbox).not(jQuery("#hd_keep")).parents('tr'); if (jQuery(checkbox).is(':checked')) { needToggle.show(); if (prefix == "websize") { jQuery("#hd_keep").parents("fieldset").show(); } } else { needToggle.hide(); if (prefix == "websize") { jQuery("#hd_keep").parents("fieldset").hide(); } } } toggleResizeFields("websize"); jQuery("#websize_resize").click(function () {toggleResizeFields("websize")}); toggleResizeFields("hd"); jQuery("#hd_resize").click(function () {toggleResizeFields("hd")}); function toggleHdFields() { var checkbox = jQuery("#hd_keep"); var needToggle = jQuery("input[name^=hd_]").not(checkbox).parents('tr'); if (jQuery(checkbox).is(':checked')) { needToggle.show(); toggleResizeFields("hd"); } else { needToggle.hide(); } } toggleHdFields(); jQuery("#hd_keep").click(function () {toggleHdFields()}); }); {/literal}{/footer_script}

{'Upload Photos'|@translate}

{'Web size photo'|@translate}
{'Maximum Width'|@translate} {'pixels'|@translate}
{'Maximum Height'|@translate} {'pixels'|@translate}
{'Image Quality'|@translate} %
{'Thumbnail'|@translate}
{'Maximum Width'|@translate} {'pixels'|@translate}
{'Maximum Height'|@translate} {'pixels'|@translate}
{'Image Quality'|@translate} %
{if $MANAGE_HD}
{'High definition'|@translate}
{'Maximum Width'|@translate} {'pixels'|@translate}
{'Maximum Height'|@translate} {'pixels'|@translate}
{'Image Quality'|@translate} %
{/if}