[Skip to main content](#vessel-content)

#   Replace the filename "image..." of the attached png

##

- **[woidl](/forum/user/39777-woidl "View woidl's Profile")**
- [![woidl's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/39777-woidl "View woidl's Profile") Topic Author
- [ Offline](/forum/user/39777-woidl)

Less More

- Posts: 58
- Thank you received: 2
-
-

9 years 1 month ago [\#280791](#280791) by [woidl](/forum/user/39777-woidl "View woidl's Profile")  *[Replace the filename "image..." of the attached png](/forum/17-serial-how-to/892429-replace-the-filename-image-of-the-attached-png#280791 "-- HikaShop version -- : 3.2.0 -- HikaSerial version -- : 2.0.0 -- Joomla version -- : 3.8.1 -- PHP version -- : 7  Hi,  I am selling vouchers - they are sent to the recipient as attachments (png) with email.  I would like to replace the filename &quot;image...&quot; with a more senseful name like &quot;Voucher&#95;&quot;.  I found on line 317 in the plugin/attachserial.php  But I don´t like to change things in the code. And again after updates. Is there another way to replace the filename??  thanks")* was created by *[woidl](/forum/user/39777-woidl "View woidl's Profile")*

-- HikaShop version -- : 3.2.0
-- HikaSerial version -- : 2.0.0
-- Joomla version -- : 3.8.1
-- PHP version -- : 7

Hi,

I am selling vouchers - they are sent to the recipient as attachments (png) with email.

I would like to replace the **filename** "image..." with a more senseful name like "Voucher_".

I found on line 317 in the plugin/attachserial.php Code:

$filename = 'image'.uniqid().'.'.$extension;

But I don´t like to change things in the code. And again after updates.
Is there another way to replace the filename??

thanks

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzE3LXNlcmlhbC1ob3ctdG8vODkyNDI5LXJlcGxhY2UtdGhlLWZpbGVuYW1lLWltYWdlLW9mLXRoZS1hdHRhY2hlZC1wbmc/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26401
- Thank you received: 4081
-
- [](http://obsi.dev)
-

9 years 1 month ago [\#280793](#280793) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Replace the filename "image..." of the attached png](/forum/17-serial-how-to/892429-replace-the-filename-image-of-the-attached-png#280793 "-- HikaShop version -- : 3.2.0 -- HikaSerial version -- : 2.0.0 -- Joomla version -- : 3.8.1 -- PHP version -- : 7  Hi,  I am selling vouchers - they are sent to the recipient as attachments (png) with email.  I would like to replace the filename &quot;image...&quot; with a more senseful name like &quot;Voucher&#95;&quot;.  I found on line 317 in the plugin/attachserial.php  But I don´t like to change things in the code. And again after updates. Is there another way to replace the filename??  thanks")*

Hello,

In fact, you have a special setting in the plugin "attach serial" (via the Joomla plugin manager) called "Image filename format".

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

The following user(s) said Thank You: [woidl](/forum/user/39777-woidl "View woidl's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzE3LXNlcmlhbC1ob3ctdG8vODkyNDI5LXJlcGxhY2UtdGhlLWZpbGVuYW1lLWltYWdlLW9mLXRoZS1hdHRhY2hlZC1wbmc/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

Moderators: [Obsidev](/forum/user/7040-obsidev "View Obsidev's Profile")

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.046 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
