Reza Bastani Namaghi
Back to Home
Managing Attachments for Legal Briefs and Petitions

Managing Attachments for Legal Briefs and Petitions

Access Link: dadlist.ir/zamaem

One of the common challenges many lawyers face when filing a brief or petition in Iran's electronic judicial system (Note for foreign readers: Iran uses a centralized, mandatory electronic filing system for all legal procedures, often referred to as Adliran or Sana) is managing the case attachments.

In practice, when attachments are uploaded to these judicial portals, their order, readability, or display format during viewing or printing is often disorganized. This makes it difficult for court clerks to print them properly, and the respected judges are left sorting through a massive volume of scattered, unlabeled images without any context.

To solve this, some colleagues are forced to use basic software like MS Paint or similar programs to manually add captions to each image. For example, they write:
"Image 1: Contract dated..."
"Image 2: Payment receipt..."
"Image 3: Sent legal notice..."
However, this method is incredibly time-consuming, exhausting for cases with many attachments, and rarely yields clean, uniform results.

Another major issue is the system's strict technical limitations: the Iranian judiciary's e-filing system typically only accepts image files in JPG format and strictly under 500 KB in size. To circumvent this, some colleagues resort to unprofessional and tedious methods, such as sending photos to themselves on messaging apps to automatically compress them before downloading them back.

As a lawyer who has struggled with these exact issues countless times, I decided to design a simple web-based tool that handles all of this without requiring any software installation.

With this tool, you can:

Insert titles and descriptions directly onto each attachment.

Prepare images in a neat, uniform layout.

Generate system-compatible JPG outputs.

Automatically compress images to under 500 KB.

Download all processed files at once in a single ZIP archive.

A critical aspect of designing this tool was maintaining the confidentiality of case files. Naturally, lawyers are highly sensitive about uploading sensitive legal documents to third-party websites. On the other hand, processing all these images on a server would not only compromise privacy but also overload the server.
Therefore, I designed this tool so that image processing happens entirely locally within the user's web browser (client-side). This means the files are never sent to a server, and the core operations are executed safely on your own device.

I also added a feature allowing lawyers to insert their professional stamp, law firm logo, or QR code onto the attachments for a highly customized and professional final output.

I hope this tool simplifies some of the repetitive and time-consuming tasks for my fellow lawyers, ensuring that attachments to briefs and petitions are presented in a much more organized, readable, and usable manner.

If you encounter any bugs, errors, or have suggestions for improvement while using the tool, I would be very grateful if you could let me know so I can fix and upgrade it in future versions.

Written by Reza Bastani Namaghi
Download Attached File
Previous Post Time Travel by the Tax Administration!