Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- namespace App\Lib\Utils;
- class UploadUtils {
- public static function getOutputThumbUrl($mainImage, $productId)
- {
- return str_replace(PRODUCTS_IMAGES_FOLDER . $productId,
- PRODUCTS_THUMB_FOLDER, $mainImage);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement